Skip to content

L10n: German function names and the de-DE region - #38

Merged
StDenis1980 merged 7 commits into
mainfrom
claude/project-thread-xi2v0h
Nov 3, 2026
Merged

StDenis1980 merged 7 commits into
mainfrom
claude/project-thread-xi2v0h

Conversation

@StDenis1980

Copy link
Copy Markdown
Owner

Requested by Denys · project thread

Part 2 of localized function names for Vilna OS (StDenis1980/tintaoffice-web#15). This builds on the table design from #37.

German formula names

  • New FormulaLocale::De with crates/formula/src/german.rs, which has a row for every built-in function: SUMME, WENN, SVERWEIS, ZÄHLENWENN, XVERWEIS, WAHR/FALSCH.
  • The separators are ;, the decimal comma and \ between array columns.

de-DE region

  • Number and date format: 1.234,56, 31.12.2026, with € after the amount.
  • Typed WAHR and FALSCH become booleans.
  • German Excel writes numbers this way, so the formula's decimal comma matches how cells show values.

Verification

  • core, numfmt, formula and engine tests pass. New tests cover:
    • German formulas parse and display correctly;
    • German formulas compute;
    • the region's number, date, currency and boolean input.
  • ui-egui: 960 passed, including the new German end-to-end test. 2 failed: the known missing-glyph tests, which also fail on main in this container.
  • clippy -D warnings is clean on core, formula, engine and ui-egui, and fmt is clean.

Upstream note

Upstream has an open German PR, storytold#3020. A later sync will need to reconcile it with this table.

The German names are AI-assisted and still need a native speaker to check them.


Generated by Claude Code

…lna OS request)

Adds lt.rs (all 1181 interface strings) and Language::Lt (auto from
lt_LT, picker, app.language.set, error-report texts). Czech gains 630
and Romanian 159 missing rows, so cs/ro/lt now cover the whole reference
set that cargo xtask i18n-report checks. Rows shared with the other Tinta
forks reuse their wording; the rest is AI-assisted, pending native review.

Refs StDenis1980/tintaoffice-web#15

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0147pTEsCPeDotgNSoALS5yo
Region gains CsCz (1 234,56 · 05.11.2026 · Kč), RoRo (1.234,56 ·
05.11.2026 · lei) and LtLt (1 234,56 · 2026-11-05 · €). The cs, ro and
lt interfaces now show and read values that way, and formulas take ';'
and the decimal comma (English function names, as their Excel keeps).
Kč and lei typed after an amount give a currency format. Requested by
Vilna OS (tintaoffice-web#15).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0147pTEsCPeDotgNSoALS5yo
Czech formula entry, as Czech Excel shows it (SUMA, KDYŽ, SVYHLEDAT,
PRAVDA/NEPRAVDA; Czech LOG is LOG10). The function table is now one
mechanism per language (Spanish, Czech) instead of Spanish-only code,
so German, French, Italian and Polish can follow. Typed PRAVDA and
NEPRAVDA are booleans in the Czech region. The old Czech test expected
English separators, which #36 already changed; it now checks English
names with Czech separators. AI-assisted names, not yet checked by a
native speaker. For Vilna OS (tintaoffice-web#15).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0147pTEsCPeDotgNSoALS5yo
German formula entry as German Excel shows it (SUMME, WENN, SVERWEIS,
WAHR/FALSCH), and the de-DE region: 1.234,56, 31.12.2026, euro after
the amount, typed WAHR/FALSCH. AI-assisted names, not yet checked by a
native speaker. For Vilna OS (tintaoffice-web#15).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0147pTEsCPeDotgNSoALS5yo
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