Skip to content

i18n: Georgian (ka) interface language - #1823

Merged
echelon merged 3 commits into
storytold:mainfrom
devius:ka-language
Oct 15, 2026
Merged

echelon merged 3 commits into
storytold:mainfrom
devius:ka-language

Conversation

@devius

@devius devius commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Glyphs: Georgian needs a font face; storytold/craft-fonts#27 adds Noto Sans Georgian (script Geor).

Summary

Adds Georgian (ka) as an interface language, in the same shape as the French (#541) and Ukrainian catalogs.

  • crates/ui-egui/locales/ka.json (2,720 entries) and ka-formats.json (249 entries): every plain and formats message any shipped catalog has, plus the command and slider labels, the smart-album rule editor and the embedded What's New lines. Measured against the source, coverage is 100%; technical errors from lower layers stay English, as in the other languages.
  • i18n.rs: Ka, "ka", "ქართული", "Geor" appended to the language table; parse_tag accepts ka, ka-GE and ka_GE.UTF-8. Edit → Language → ქართული (app.language.georgian) and Settings → General → Language; the choice persists as language: "ka" in ui.json.
  • Georgian has no letter case. Upper-casing Mkhedruli turns it into Mtavruli, a different all-caps script that is not used for interface text. The two sentence() helpers (Denoise, Faces) now go through i18n::upper_first, which leaves Georgian letters as they are and still capitalises other scripts.
  • The Settings language choices wrap. Eleven endonyms no longer fit on one line of a 1000 pt window.
  • The face-model Remove button goes through tr(); it was drawn in English in every language.
  • Docs: docs/localization-ka.md (per-language notes and terminology, like the other languages' notes), the parity tables, docs/localization.md, README and ROADMAP rows, and the attribution row.

What does not change

  • Number and date formats of other languages, storage, command ids, catalogs of other languages, assets.
  • No font is added. Inter and craft-fonts have no Georgian face, so Georgian text shows boxes until a Georgian face is available. A separate PR (fonts: Georgian UI fallback from the system) adds an installed system face as a fallback.

Translation quality

  • Original translation from the meaning of each English string (clean-room). No vendor localization (Adobe or other) was used or copied.
  • The terms follow a shared Georgian terminology glossary across the Craft apps (WordCraft, GridCraft, PhotoCraft, FilmCraft, VectorCraft and others), so the same command reads the same in every app.
  • Counts are count-neutral, noun first (იმპორტირებულია ფოტო: 3), so no plural forms are needed. Dates read კვირა, 20.09.2026.
  • Written with AI assistance (Claude) and reviewed by a native Georgian speaker over four review rounds.

Tests

Full cargo xtask ci was not run locally; fmt, clippy -D warnings and the i18n tests pass.

  • georgian_switches_formats_counts_and_dates: the menu command switches the language, the checkmark follows, labels, date headings and count wording are Georgian, the choice is saved as "ka", the ka / ka-GE / ka_GE.UTF-8 tags parse, and no catalog entry contains Mtavruli.
  • sentence_case_keeps_georgian_lowercase: upper_first capitalises Latin and Cyrillic and leaves Mkhedruli, Asomtavruli and Mtavruli alone.
  • The existing completeness, placeholder, command-table and keyword-list tests now include Georgian. No existing assertion was relaxed.

Results on this branch (Linux x86_64, stable Rust):

  • cargo fmt --all -- --check: clean
  • cargo clippy --workspace --all-targets -- -D warnings: clean
  • cargo test -p lightcraft-ui-egui --lib -- i18n keyword_list: 58 passed
  • cargo xtask wasm: passes

Screenshots

None committed. A live preview with the Georgian interface is at https://lightcraft.serveradmin.ge.

🤖 Generated with Claude Code

devius and others added 3 commits October 14, 2026 22:50
Adds Georgian (ქართული, code ka, system tags ka / ka-GE / ka_GE) with
complete plain and formats catalogs, the Edit > Language command and the
Settings choice. Sentence-cased messages go through i18n::upper_first,
which leaves Georgian letters alone (upper-casing Mkhedruli would turn it
into Mtavruli). The Settings language choices wrap now that eleven
endonyms no longer fit on one line, and the face-model Remove button goes
through tr().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YMTAbGNRxnMEzRvYnQGphF
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@echelon

echelon commented Oct 15, 2026

Copy link
Copy Markdown
Member

Thank you @devius! This landed on main in integration batch 39 (#1865), rebased onto main after the previous batches. It sits next to Italian (#1198), which landed meanwhile. Glyphs need storytold/craft-fonts#27; until that lands Georgian text shows as boxes.

If you haven't already, please join our Discord: https://discord.gg/artcraft. We'd love to have you there.

@echelon
echelon merged commit 202fcbb into storytold:main Oct 15, 2026
geazzysena pushed a commit to geazzysena/lightcraft that referenced this pull request Oct 15, 2026
Georgian next to Italian in the language table, menus, catalogs list and docs; ka-formats.json lists the format
strings other PRs added, in English until translated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
devius added a commit to devius/lightcraft that referenced this pull request Oct 18, 2026
 dropped it; the web shell calls it)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YMTAbGNRxnMEzRvYnQGphF
aiongg pushed a commit that referenced this pull request Oct 31, 2026
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.

2 participants