Translations of Main Menus: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Geep (talk | contribs)
Geep (talk | contribs)
Line 51: Line 51:


==See Also==
==See Also==
* [[I18N Status]], particularly "Core".
* [[I18N Status]], particularly "TDM Core".
* [[I18N - Charset]]
* [[I18N - Charset]]

Revision as of 16:51, 23 June 2026

... and other I18N TDM-platform strings that are not FM-specific.

Phrases Considered "Translated"

Shown in declining count order, for TDM 2.14.

  • Catalan - 1265 (94%)
  • Russian - 1232 (92%)
  • French - 1197 (89%)
  • German - 1195 (89%)
  • Turkish - 1193 (89%)
  • Hungarian - 1190 (88%)
  • Polish - 1183 (88%)
  • Slovak - 1164 (86%)
  • Italian - 1142 (85%)
  • Romanian - 1137 (84%)
  • Spanish - 1102 (82%)
  • Danish - 1095 (82%)
  • Portuguese - 1034 (77%)
  • Czech - 998 (74%)
  • Dutch - 142 (11%)
  • Swedish - 136 (10%)

Commentary

First-ranked Catalan is the newest entry. As for other languages, presumably they have suffered some slippage of coverage due to the minor accumulations of new English phrases over the last decade, without translation updates.

Bottom-ranked Dutch and Swedish remain as stubs, awaiting full translation. Not shown: Other possible future-candidate Latin and Cyrillic languages, with similar stubs in all.lang, but no .lang files generated at this time.

Translation with AI may be called upon to help with these shortcomings.

Methodology

As of TDM 2.14, english.lang defines 1347 #str_ phrases (and presumably a similar number in the [english] section of all.lang). This value is the denominator of percentage calculations.

The numerators come from counting the number of lines in various "missing.txt" files that result from running gen_lang_plus with its "-missing" option. Here's how it does its categorization for each [language]...

If, for a given [english] #str_ ID in all.lang, either:

  1. there's no matching [language] #str_ ID; or
  2. there's a matching [language] #str_ID, but with the same phrase as [english], and it's not marked with the special translator comment "// stays the same"

then that is output as a "missing" (untranslated) line. The count of these is then subtracted from 1347 to give the "translated" count shown.

Caveats

  • Because of certain problems (multiline comments, duplicate entries), these numbers are merely very good estimates, not definitive.
  • Some phrases shouldn't or can't be translated (e.g., PC function keys), or are the same in English and the other language, even if not marked with "// stays the same". In particular, translation away from English may be difficult for some technical and/or abbreviated terms in Settings. Perhaps a more concerted effort to apply the "// stays the same" tag is warranted.
  • These estimates do not account of any possible platform text left hard-coded in English text, so not represented by a #str_. Hopefully there's little to none of that left.
  • These estimates do not account for platform aspects with no translation mechanism, e.g.:
    • English words burned into textures of shared assets, e.g., old broadsides & newspapers; a few decals
    • Readme's about potential games to select
    • Barks and subtitles (those common to all FMs)
    • TDM's website, installer, wiki, forums, etc.
  • The quality of the translations are not assessed. In particular, improvements to Stone and Carleton fonts in support of certain accented characters will not likely roll out to individual strings until TDM 2.15. A few menu strings remain in the unimproved, deprecated Carleton_Condensed font.

See Also