Skip to content

i18n(backend): expand general catalog keys across 22 locales - #110

Draft
Dani6ca-T wants to merge 1 commit into
OpenstreamCo:masterfrom
Dani6ca-T:i18n/g3-backend-catalog-expansion
Draft

Dani6ca-T wants to merge 1 commit into
OpenstreamCo:masterfrom
Dani6ca-T:i18n/g3-backend-catalog-expansion

Conversation

@Dani6ca-T

@Dani6ca-T Dani6ca-T commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Catalog-only backend localization expansion: adds 205 general backend message keys to all 22 Services/Localization/Locales/*.json catalogs, taking each catalog from 114 to 319 keys. This PR contains JSON data only: no C# code, no tests, no API/OpenAPI changes, no installer changes, and no frontend/tray changes.

The keys cover general backend/CLI infrastructure: CLI errors and help, purge/configuration console output, seat agent/access/USB/input/audio/display/console-lock messages, process and security diagnostics, isolated policy, shutdown/single-session policy, authentication, driver diagnostics, and extension validation/download errors.

Included key groups (205 keys)

Prefix Keys
cli.* / serviceConfig.* 9
purge.* 17
seatAgent.* 22
seatAccess.* 10
seatUsb.* 24
seatInput.* / seatAudio.* 8
consoleDisplay.* / consoleLock.* 13
seatIdentify.* / virtualDisplay.* 10
processInSession.* / security.* 7
isolatedPolicy.* / common.* 5
shutdownRight.* / singleSession.* 17
auth.* 4
driver.* 9
ext.* 50

Source

Extracted from i18n/full-program-22-locales at a73e18b (a73e18bf21ba504df590f17ef9aed03961f15b95), based on master at 5ed637347bd83d4ee1bec1c76fce5cbf8168cdca.

The source branch commits each locale separately. The English-side commits that introduced this 205-key set are:

bdc74fa1, c965c366, 5305bc90, 460ee4c1, 664ea314, 4d64f911, a8c488d4, b143cea2, c8e16b9b, aceece0a, dd6ef2e6, 3625142f, f391a491, 17800aab, bf61404c, 2157ba4c, a14a3446, d916a159, 96fd66a6.

Values for all 22 locales were read from the source tree and checked key-by-key. No source commit was cherry-picked wholesale, because those commits also contain code, tests, or locale-specific changes outside this allowlist.

Explicitly excluded

Overlap and dependency analysis

  • G2 also touches 18 of these files, but only appends its three app.* keys at EOF. This PR inserts the new general-key block at the beginning of each catalog. A local git merge-tree simulation of i18n(web,tray): localize residual Web UI and tray strings #109 + this branch returns exit 0 with no conflicts.
  • The two branches have zero duplicate keys and no test-file overlap.
  • G3 is independent of i18n(web,tray): localize residual Web UI and tray strings #109: every added key is present in all 22 catalogs, so no parent fallback or effective-catalog test change is required. Master's existing i18n tests pass unchanged.
  • G4, G5 and G6 can add their own key sets later without overlapping this 205-key allowlist.

Validation

Check Result
Custom catalog validator 32,697 assertions, 0 failures
JSON parse, canonical formatting, no BOM/CR/duplicate keys Pass (22/22)
Key parity 319 keys in every catalog; 114 master values unchanged
Source equality All 205 values match a73e18b for all 22 locales
Placeholder parity Pass for all 205 keys against English
node --test tests/i18n.test.cjs 18/18 passed
node --test tests/i18n-backend.test.cjs 20/20 passed
dotnet build -c Release 0 errors, 14 pre-existing warnings
dotnet test -c Release --no-build 210/210 passed
git diff --check Clean
G2 merge simulation Clean (merge-tree exit 0)

GitHub Actions: Build installer passed (3m16s); Publish release was skipped as expected for a non-tag branch.

Build used the isolated .NET 10 SDK 10.0.404 because the system SDK is 9.x and cannot target net10.0-windows.

Notes

  • The new key block is placed at the top of each catalog specifically to keep the G2 overlap textually disjoint. JSON object order is not semantically meaningful.
  • Some source values for uk, vi and tr are still English for technical strings. They are preserved exactly as authored rather than invented; the i18n tests report these as warnings.
  • This PR is intentionally a Draft. It is not ready to merge pending review.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant