Skip to content

chore: rework i18n for js to avoid async and duplication#668

Merged
darcywong00 merged 2 commits intofeat/search-i18nfrom
chore/search-i18n-structural-tweaks
Mar 2, 2026
Merged

chore: rework i18n for js to avoid async and duplication#668
darcywong00 merged 2 commits intofeat/search-i18nfrom
chore/search-i18n-structural-tweaks

Conversation

@mcdurdin
Copy link
Member

@mcdurdin mcdurdin commented Feb 24, 2026

Moves the responsibility for determining locale fallback server-side, so that we can avoid async pollution and have just a single responsible module for locale fallback.

Strings are injected into a <script> data element as JSON, reducing the number of network round trips.

@darcywong00 happy to discuss this further as required

Test-bot: skip

Moves the responsibility for determining locale fallback server-side, so
that we can avoid async pollution and have just a single responsible
module for locale fallback.

Strings are injected into a <script> data element as JSON, reducing the
number of network round trips.

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 A19S23 milestone Feb 24, 2026
@mcdurdin mcdurdin requested a review from darcywong00 February 24, 2026 09:11
@github-project-automation github-project-automation bot moved this to Todo in Keyman Feb 24, 2026
@github-actions github-actions bot added the chore label Feb 24, 2026
Copy link
Contributor

@darcywong00 darcywong00 left a comment

Choose a reason for hiding this comment

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

nice - this does make things cleaner!

@keyman-server keyman-server modified the milestones: A19S23, A19S24 Feb 27, 2026
@darcywong00
Copy link
Contributor

I'll go ahead and merge this into the base PR #658 and address remaining comments there.

@darcywong00 darcywong00 merged commit 70ffe4f into feat/search-i18n Mar 2, 2026
5 checks passed
@darcywong00 darcywong00 deleted the chore/search-i18n-structural-tweaks branch March 2, 2026 08:14
@github-project-automation github-project-automation bot moved this from Todo to Done in Keyman Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants