Skip to content

Every interface text in every language again - #133

Merged
turbo-devv merged 2 commits into
mainfrom
fix/translations
Nov 20, 2026
Merged

turbo-devv merged 2 commits into
mainfrom
fix/translations

Conversation

@turbo-devv

Copy link
Copy Markdown
Contributor

What was wrong

The translations check failed on main, and so on every open pull request: 329 interface texts had no translation in any of the 26 tables (the trolleybus wire windows, the script debugger, new checks and hints).

Two existing problems came up along the way:

  • The light theme read "traffic light". View > Theme used tr("Light", "Светлая"), the same English text as the traffic light in the crossing editor. Each table has one row per English text and translates it as the traffic light, so in every language but English and Russian the theme choice showed "Ampel", "Feu", "信号灯"... The mesh editor's "Light: at night / always" row had the same problem.
  • Hungarian "cant" was translated as áttétel (a gear ratio). A road's cant is túlemelés.

The change

  • 329 rows added to each of locales/*.tsv, keeping each table's terms. Placeholders, \n and leading/trailing spaces were checked against the English for every row.
  • The theme choices are "Dark theme" / "Light theme", and the mesh editor row is "Lit". All three are translated into every language.
  • Hungarian cant rows corrected.

python3 tools/i18n/check.py: 3099 texts, 26 languages: complete.

Worth a native speaker's look: the trolleybus wire terms (span, frog, switch, section) are new to every table, and a few short pieces that the code joins with a number may read stiffly in languages with a different word order.

🤖 Generated with Claude Code

turbo-devv and others added 2 commits November 20, 2026 10:38
…no longer a traffic light

- the 329 texts the 26 tables lacked (the trolleybus wire, the debugger, the checks...) translated
- the theme choices were the same English text as a traffic light ('Light'), so in every
  table but English and Russian the light theme read 'traffic light'; the mesh editor's light
  ('Light: at night / always') too. They are 'Dark theme' / 'Light theme' and 'Lit' now.
- Hungarian: a road's cant is túlemelés, not áttétel (a gear ratio)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@turbo-devv
turbo-devv merged commit 500d0ee into main Nov 20, 2026
4 checks passed
@turbo-devv
turbo-devv deleted the fix/translations branch November 20, 2026 16:10
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.

1 participant