Repository navigation
Add Dutch (nl) UI language - #1160
Merged
Merged
Conversation
Contributor
Author
BamischijfNL
marked this pull request as ready for review
October 30, 2026 13:58
GLinnik21
enabled auto-merge (squash)
October 30, 2026 16:27
GLinnik21
disabled auto-merge
October 30, 2026 16:29
GLinnik21
enabled auto-merge (squash)
October 30, 2026 16:29
Contributor
Author
|
@GLinnik21 CI fails on the binary size budget: 15,214,216 bytes vs. the 15,180,000 limit (baseline 13,799,944 from 2026-10-18). The Dutch catalog adds roughly 50–80 KB (about 46 KB of strings plus the generated accessors), so Would you like me to raise the budget in this PR (new baseline 15,214,216, 10% headroom → 16,740,000), or would you rather re-baseline it separately on |
Collaborator
|
Yes I would |
main's plxnative#1154 raised the binary size budget (limit 17,000,000), which is what this branch's cross-build needed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…counts plxnative#1154 pinned The frozen goldens (classic-geometry 32, classic-title-right 8, census-classic 148 rows per language) were written from the hand-written classic layout, which plxnative#1154 then deleted, so main has no generator for a language that arrives afterwards. The nl rows come from that hand-written side at edd3d0d (the last commit before its deletion, both sides live) with the Dutch catalog applied; the generator reproduced all 320, 84 and 1480 existing lines byte for byte before the nl rows were taken. At edd3d0d the compile and the renderer agree with the hand-written side for nl in all three tests. The four tests still iterate every SHIPPED language with their count asserts intact. The language-count pins and prose the new language made false now say eleven (11 / 352 cases): loaded.rs, compile_tests.rs, docs/hud-plugins.md, the two lint_size test names, the month-table doc comment, and the hud_cli --lang usage pin. Co-Authored-By: Claude Opus 5.5 <[email protected]>
docs/localization.md named its languages in five closed lists (the intro, the locales/<tag> directories, the plural categories, the PLXNATIVE_LOCALE values and the Settings > Language sentence) and none had Dutch; each now does, with Dutch among the one/other languages as locales/languages.json declares. docs/lg-self-checklist.md said its list was the languages the registry holds and lacked Polish and Dutch. docs/hud-plugins.md: a failed package everywhere would punish ten languages, not nine. Three fmt tests claimed every shipped language but looped over a hand-written eight tags, which left ru and pl unchecked; they iterate i18n::SHIPPED, as docs/localization.md says each-language loops do, and pass in all eleven. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
|
Thanks! |
icepin7
pushed a commit
to icepin7/plx-native
that referenced
this pull request
Oct 31, 2026
… and settings Upstream's Dutch UI language (plxnative#1160) reached seerr with origin/seerr's merge of the fork's main, and locales/nl held none of the 90 Seerr keys, so the catalog build refused every gate. The four Seerr catalog files now have their Dutch, in the voice the rest of locales/nl uses (je, Inloggen, Opnieuw proberen, tv); Seerr and Plex stay product names and the example address stays the documentation one. Co-Authored-By: Claude Opus 5.5 <[email protected]>
GLinnik21
added a commit
to MozgOFF/plx-native
that referenced
this pull request
Oct 31, 2026
main's plxnative#1160 registered nl after this branch's base, so the two settings.playback.dolby_vision keys the PR adds to en were missing from nl. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
GLinnik21
added a commit
that referenced
this pull request
Nov 1, 2026
Two textual conflicts, both resolved by keeping both sides: - ui/src/cards/mod.rs: the `card_row` re-export keeps this branch's `Rim` and main's `SortValue` and `SORT_VALUE_*` items. - screens/src/player/mod.rs: `row_primary` keeps main's `pub` and its doc (the FocusEngine's re-seat lands on it) with this branch's body, which reads the discs through `eff_slot` and the open sections. Main's BACK-dismisses-an-offer arm (#1161, #1187) sits below the section arm of the BACK ladder, so a BACK over an open section closes the section and never retires the offer under it; a test pins that for the modal and the inline policy. Dutch (#1160) is covered by the SHIPPED-driven tests and goldens. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Add Dutch (nl) UI language
Adds Dutch as a UI language, following
docs/localization.md→ Adding a language.What changed
locales/nl/: all 12 catalogs. Every translatable source key is covered (889 keys); English-onlytranslate: falsekeys are left out.locales/languages.json:nl, native nameNederlands, regionnl-NL, scriptLatn, pluralsone/other, row 12.LocaleContext::month_day(platform/src/i18n/mod.rs):NL_MEDIUM/NL_LONG(CLDRnlformat months, e.g.12 mrt/12 maart), with tests for both widths. There are also tests for Dutch plural selection and for system-locale resolution (nl,nl-NL,nl_NL.UTF-8,nl-BE).pkg/resources/nl/appinfo.jsonalready existed, so it is unchanged.nl: the HUD lint goldens,hud_cli, and the subtitle-mode read-out table inpreferences_text_fit_tests.rs.collections_page_testsnow exemptsnlfrom the "count is not English" check, as it already did forfr, because Dutch also writes "7 films". One existing test usednl-NLas an example of an unsupported locale; it now usessv-SE.Wording choices
The app uses informal "je", as Plex and most Dutch streaming apps do. The main terms are:
"Direct Play" and "Direct Stream" stay in English, as in the Dutch Plex apps.
Consent and privacy texts are translated in full and keep their exact meaning. Brand names, URLs and protocol identifiers are not translated.
How it was checked
cargo test --libforplx_platform,plx_ui,plx_data,plx_appkitandplx_screensall pass, including the catalog contract, glyph coverage and the TV glyph-width fit tests. Everynlstring that overflowed a fixed slot was shortened until those tests passed.ci/check-language-lists.pypasses.make checkon the pinned toolchain. Unrelated TLS and storage tests inplx_sessionandplxnative-modulesfailed in that sandbox; nothing in this PR touches them.PLXNATIVE_LOCALE=nl: Home, detail, Settings, privacy/consent, player menus.)Translation review
The first draft was AI-assisted. All 889 strings were then read and approved by myself. I'm a native Dutch speaker and have professional experience as a UX writer (copywriter for software interfaces). I did a side-by-side EN/NL review. Changes I made:
browse.detail.sdhchanged to match.