Skip to content

Conversation

@darcywong00
Copy link
Contributor

Follows #604 for #384

This continues the Locale.php to localize the keyboard details results.
Note, some of the content comes from other sources (e.g. keyboard details in the keyboards repo)

Test-bot: skip

@keymanapp-test-bot
Copy link

User Test Results

Test specification and instructions

User tests are not required

@keymanapp-test-bot keymanapp-test-bot bot added this to the A19S16 milestone Nov 11, 2025
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

path should be keyboard-details, not keyboards-details

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since I've got the keyboards/ strings under /_includes/locale/strings/keyboards
what if we nested the folders like:

..../keyboards/
              /details/
              /share/
              /install/

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep sounds good

Comment on lines 129 to 131
$install_keyboard = _m("install_keyboard");
$install_keyboard_button_description = _m("install_keyboard_button_description",
$h_filename, $platformTitle);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see suggestion in #623 please

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

woof - thanks for 🦆 on getting the boilerplate working.

return $str;
}
return vsprintf($str, ...$args);
return vsprintf($str, array(...$args));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needed this for the formatted strings with 2+ parameters

@keyman-server keyman-server modified the milestones: A19S16, A19S17 Nov 22, 2025
Base automatically changed from feat/localize/keyboards-map to master December 3, 2025 04:44
@darcywong00 darcywong00 merged commit b161eb8 into master Dec 3, 2025
5 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Keyman Dec 3, 2025
@darcywong00 darcywong00 deleted the feat/localize/keyboard-details-map branch December 3, 2025 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants