Repository navigation
Locales: French UI language - #636
Conversation
|
Thanks for the French translation and for the thorough text-fit work! I only merge locales that a native speaker has reviewed. Are you a native French speaker, or do you know someone who could read through Generated by Claude Code |
|
Hi, thanks for the review! Yes, I'm a native French speaker. I wrote and reviewed the wording myself, and I've been running this build on my own LG TV. I rendered the screens with Note: the English text in these captures comes from the mock server, not from the catalogs: synopses, genres, the "Movies" section name, the section's "Continue Watching" shelf, the sort options ("Title", "Date Added"…) and the failure detail line. A real PMS receives
|
Adds French (fr, shown as "Français") next to en, es and be.
- locales/fr/{core,widgets,settings,browse}.json carry all 988 keys with the
one / many / other plural forms of French CLDR. The wording says what a
string means rather than translating it word for word (captions and SDH
descriptions, forced Direct Play messages, unencrypted-connection and
session errors, player statuses). Switches stay "On / Off" and the SDH
badge stays "SME".
- Runtime: Preference::Fr and Language::Fr, fr-* locale resolution (Latin
script), fr-FR regional formatting, a "Français" row in Settings > Language
and an entry in i18n::SHIPPED.
- The catalog compiler builds four catalogs instead of three and checks the
French plural requirements.
- Strings that sit in fixed slots were shortened to fit; the text-fit tests
measure them with the TV's glyph widths and now cover French.
- Existing tests extended to French; docs/localization.md, docs/pms-api.md,
docs/lg-self-checklist.md, docs/distribution.md and
rust-modules/ui/src/CLAUDE.md updated.
Verified: CI green on the PR (host lint and unit suites including hostsim,
ARMv7 cross-build with the size budget and ELF assertions, macOS / Linux /
Windows simulators), and the CI-built .ipk installed and checked by the owner
on a real TV (glyph rendering, text fit, wording). Not reviewed by a native
speaker other than the owner; the translation was written by Claude.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
A native reviewer reads "É92" as wrong: the French short form of "épisode" in an S1 · E92 label is a plain capital E. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Great! Thank you! |
|
Please check the CI and we're ready to land it |
Five consent-preview playback-error fields, the library file name placeholder, and the attempted-delivery and Continue Watching copy the English changed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
15ec5d5 to
d83d419
Compare
The caption-wrap commit dropped Preference::Fr from the failure-action label, widgets jail help and forced-verdict fit tests (added in plxnative#636). Put it back. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>






Summary
Adds French (
fr, shown as "Français") as a UI language, next to en, es and be.locales/fr/{core,widgets,settings,browse}.json: all 988 keys, withone/many/otherplurals (French CLDR rules). The wording translates what a string means rather than word for word.Preference::FrandLanguage::Fr,fr-*locale resolution (Latin script),fr-FRregional formatting, a "Français" row in Settings → Language, an entry ini18n::SHIPPED.docs/localization.md,docs/pms-api.md,docs/lg-self-checklist.md,docs/distribution.md,rust-modules/ui/src/CLAUDE.md).The launcher metadata (
pkg/resources/fr/appinfo.json) was already there, and both bundled font faces cover every non-ASCII character used by the French catalogs.Build budget
No change to
ci/build-budgets.json. On a fork run of this branch,binary_bytesis 12,512,580 against the 13,800,000 limit (yourmainmeasures 12,434,756), so the French catalogs cost about 78 KB.Verification
hostsim), harness, Python/shell/C gates and the ARMv7 cross-build with the size budget and ELF assertions all pass. The simulator jobs only run on a pull request and have not run on this commit..ipkon a real TV and checked the French UI there: glyph rendering, text fit and wording (done by me as the contributor).docs/localization.mdmentions.🤖 Generated with Claude Code