Repository navigation
i18n: Czech interface language (cs) - #335
Merged
Merged
Conversation
Add a Czech table with all 266 interface labels (the same key set as Korean, Russian, Simplified Chinese and Brazilian Portuguese) and register `cs` in Language: name "Čeština", code `cs`, system tags `cs-*` / `cs_*`, appended to the end of the switcher. The language command help, its error text and the snapshot example usage list `cs`. Like the other ribbon tables, it covers the ribbon, sheet tabs and widgets; dialogs, menus and messages stay English. Formulas stay canonical English: Czech uses the English formula locale like every non-Spanish language. Translated from the meaning of each English label (clean-room, not from another product's localization), with AI assistance. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The catalog-completeness test requires a non-empty Czech label for
every key of the reference (Japanese) table.
- Czech context keys: `Page Layout|Orientation` and `Orientation` get
different labels; unknown text such as `Sheet1!A1` passes through.
- `cs-CZ` / `cs_CZ.UTF-8` system tags and `parse("cs")` resolve to Czech.
- The ribbon renders after switching to Czech, and the choice persists
in UiState.
- Czech keeps canonical formula entry (`=SUM(1.5,2.25)`), and `=SUMA(1;2)`
is not accepted.
- The UI font draws every Czech accented letter, upper and lower case,
without tofu; Czech shares the default Han font order.
Czech spells "Data" as English does, so the Czech checks probe
"Formulas" -> "Vzorce", where an English fallback would be caught.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Czech joins Russian under "other shipped languages" in ROADMAP.md and docs/localization-parity.md: 266 ribbon labels (~12%), menus only, formulas still en-US. Timestamp lines and revision history updated. Kept separate from the catalog so it can be dropped if the docs are refreshed upstream. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An independent review of the table found two meaning errors: "Enter" is both the status-bar mode and the tooltip of the confirm button next to the formula bar, so "Zadat" fits both places better than "Zadavani"; "Convert to Range" uses "oblast" (as "Oblast tisku" does), not "rozsah". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Own entry only, as AGENTS.md describes: credited by the name on my public GitHub profile (sync_github_name), otherwise by @username. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The only conflict was contributors/people.toml: other contributors appended their entries at the end of the file in the meantime. All entries kept. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream added German (de) in the meantime, in the same places where the Czech language is registered (module list, Language enum and ALL, name, code, tag parsing, translate, tests, theme font loop, control protocol list). Both languages kept, German first. contributors/people.toml, the ROADMAP and docs/localization-parity.md counters: all entries kept. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Two new upstream catalog strings (interface scale control in the View tab). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
h-a-n-a-s-h-i
pushed a commit
that referenced
this pull request
Oct 11, 2026
i18n: Czech interface language (cs) # Conflicts: # ROADMAP.md # contributors/people.toml # crates/ui-egui/src/control.rs # crates/ui-egui/src/i18n.rs # crates/ui-egui/src/theme.rs # docs/localization-parity.md
Member
|
Merged — thank you for the contribution! (I added Czech strings for the other features that landed at the same time, and kept your Interface size/Auto translations.) If you haven't already, come join us on the ArtCraft Discord: https://discord.gg/artcraft |
1 of 3 tasks
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.
Summary
Adds Czech (
cs) as an interface language, in the same shape as the Korean, Russian,Simplified Chinese and Brazilian Portuguese tables that landed in #104 and #82.
crates/ui-egui/src/i18n/cs.rs: all 266 labels of the reference (Japanese) table, thesame key set as ko/pt/ru/zh.
i18n.rs:Language::Cs(name "Čeština", codecs, system tagscs-*/cs_*), appendedto the end of
ALL, so the switcher lists it last.app.language.sethelp and error text, and thesnapshotexample usage, listcs.Like the other tables, this covers only what the ribbon catalog covers today: the ribbon, sheet
tabs and widgets (roughly 12% of the interface strings). Dialogs, menus, context menus, panes and
messages stay English until the catalog grows.
What does not change
except Spanish: English function names,
,separators,.decimals. No Czech function names,;separator or decimal comma. A test pins this (=SUMA(1;2)is not accepted).Tests
Page Layout|OrientationvsOrientation), pass-through of unknown text(
Sheet1!A1),cs-CZ/cs_CZ.UTF-8/parse("cs").UiState.tests/formula_locale.rs).shares the default Han font order.
Czech spells "Data" the same as English, so the Czech probes use "Formulas" -> "Vzorce", where
an English fallback would be caught. No existing assertion was changed or relaxed.
Results on this branch (Linux, Rust 1.99.0,
--locked):cargo fmt --all -- --check: cleancargo test --workspace --no-fail-fast: 582 passed, 0 failed, 1 ignoredcargo xtask ci: all 7 steps passed (fmt, clippy, test, assets, layers, wasm, parity)--example snapshot --sample sales --language cs) of Home, Insert,Page Layout, Formulas, Data, Review and View: labels render with correct diacritics.
At the default 1440x900 the last Home group ("Najít a vybrat") is clipped at the right edge;
pt-BR and ru clip more there, and "Watch Window" is clipped in English too, so this is the
existing ribbon overflow behaviour, not something this PR changes.
Translation
Translated from the meaning of each English label (clean-room), not from Microsoft Excel's or any
other product's Czech localization. Established Czech spreadsheet terms (list, buňka, vzorec,
Ukotvit příčky, Podmíněné formátování, Ověření dat, Kontingenční tabulka) are used where they are
the ordinary Czech words for the feature. Two large buttons get a line break the English label
does not have ("Kontingenční\ntabulka", "Automatický\nsoučet") so they stay narrow.
The table was produced with AI assistance (Claude).
Review
AI review pass (another model session) against how each key is used in the ribbon, tab bar,
formula bar and status bar. It found two meaning errors, both fixed in their own commit:
Enter("Zadávání" -> "Zadat": the key is both the status-bar mode and the tooltip of theconfirm button) and
Convert to Range("rozsah" -> "oblast", as "Oblast tisku" already does).Ten cosmetic suggestions were left as they are (for example "Sloučit a vycentrovat", "Štětec
formátu", "Mezisoučet").
Headings(row and column headings),to keep it apart from "Záhlaví a zápatí" (
Header & Footer). I kept "Záhlaví", the commonCzech word for the row/column headers of a sheet; either is fine and easy to change.
line by a native speaker; corrections are welcome.
Notes for the maintainer
i18n.rsand the hand-written tables. If itlands first, this PR conflicts; the 266 Czech strings can then move into a
csFluentcatalog instead.
i18n.rs(ALL,name,code,parse,tr) and the same tests; whichever lands second needs a small rebase.and "Protect\nSheet" are not in the reference table, so they stay English in every language.
you prefer to refresh those yourself.
contributors/people.toml: one entry for my own account (sync_github_name = true), asAGENTS.mddescribes, in its own commit; drop it if you would rather not have it in this PR.🤖 Generated with Claude Code