Skip to content

fix(android): Test keyman-staging i18n#15933

Draft
darcywong00 wants to merge 2 commits into
masterfrom
test/staging-i18n-url-scheme
Draft

fix(android): Test keyman-staging i18n#15933
darcywong00 wants to merge 2 commits into
masterfrom
test/staging-i18n-url-scheme

Conversation

@darcywong00
Copy link
Copy Markdown
Contributor

Depends on keymanapp/keyman.com#730

This updates the Keyman for Android alpha pre-release to test the i81n of keyman-staging.com

The original implementation of i18n on keyman.com relied on passing a lang= query parameter. Now, the locale is specified first in the URL.

Changes:

  • pre-release to use the keyman-staging site in the query
  • Loosen the INTERNAL_KEYBOARDS_LINK_FORMATSTR regex to allow for (optional) BCP-47 code in host/{bcp-47}/keyboards... The regex validated if a keyboard link was an internal Keyman.com link.
  • Update keyboard link to /go/android/{bcp-47}/{version}/download-keyboards/... (ties to fix: Update /go/android links for BCP-47 🌋 keyman.com#730)

User Testing

Setup - Install the PR build of Keyman for Android on an Android device/emulator. Start with device in English locale

  • TEST_KEYBOARD_SEARCH - Verifies keyboard search is localized based on device locale
  1. Launch Keyman and dismiss the "Get Started" menu
  2. Go to Keyman settings --> Install keyboard or dictionary --> Install from keyman.com
  3. Verify keyboard search page appears and is in English
  4. Verify you can search for "khmer_angkor" and install it
  5. Exit the menus and return to the Keyman app text area
  6. From Keyman settings --> Display Language --> Change the display language to "Spanish"
  7. Return the keyman settings --> Install keyboard or dictionary --> Install from keyman.com
  8. Verify the keyboard search page appears and is in Spanish
  9. Verify you can search for "sil_ipa" keyboard and install it

@darcywong00 darcywong00 added this to the A19S29 milestone May 11, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Keyman May 11, 2026
@keymanapp-test-bot keymanapp-test-bot Bot added has-user-test user-test-required User tests have not been completed labels May 11, 2026
@keymanapp-test-bot
Copy link
Copy Markdown

keymanapp-test-bot Bot commented May 11, 2026

User Test Results

Test specification and instructions

  • TEST_KEYBOARD_SEARCH (OPEN)
Results Template
# Test Results

* **TEST_KEYBOARD_SEARCH (OPEN):** notes

Test Artifacts

@mcdurdin
Copy link
Copy Markdown
Member

  • Loosen the INTERNAL_KEYBOARDS_LINK_FORMATSTR regex to allow for (optional) BCP-47 code in host/{bcp-47}/keyboards... The regex validated if a keyboard link was an internal Keyman.com link.

I would like to eliminate this. We should not be reliant on the layout of the website in the app code -- as we can see, that's a painful dependency.

@darcywong00
Copy link
Copy Markdown
Contributor Author

  • Loosen the INTERNAL_KEYBOARDS_LINK_FORMATSTR regex to allow for (optional) BCP-47 code in host/{bcp-47}/keyboards... The regex validated if a keyboard link was an internal Keyman.com link.

I would like to eliminate this. We should not be reliant on the layout of the website in the app code -- as we can see, that's a painful dependency.

iirc, we use the regex to keep keyman.com/keyboards searches within the in-app webview and send all other links to external browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants