View Issue Details

IDProjectCategoryView StatusLast Update
0002817The Dark ModCodingpublic06.08.2011 17:38
Reportertels Assigned Totels  
Status resolvedResolutionfixed 
Product VersionTDM 1.06 
Target VersionTDM 1.07Fixed in VersionTDM 1.07 
Summary0002817: sys_lang only allows a fixed set of languages
DescriptionAmong the allowed are English, German, French, Italian, Spanish and Polish, as well as Russian, Chinese, Korean and Japanese.

Things like "portugese" are disallowed :(

Find a way around this.
TagsNo tags attached.


related to 0002796 resolvedtels Non-ASCII GUI choices don't work 
child of 0002779 confirmed Translate the menu and HUD into different languages 




06.08.2011 17:38

reporter   ~0003974

This has been fixed by check-in 0004935. There is a new CVAR tdm_lang, which is free of restrictions. The GUI changes this variable, and triggers a call into the SDK ("languageChanged"). This call in turn issues a setLanguage() on the new I18N object.

This will reload the system language dictionary with both the strings from the requested language, as well as FM specific strings (see bug 0002797). The GUI is then immidiately reloaded to reflect the change.

The same happens upon restart of TDM/D3.

In addition, when the language "polish" is choosen, "sys_lang" is set to English, which prevents D3 from trying to load non-existing fonts (the polish fonts would be just a needless copy of the general western font).

Issue History

Date Modified Username Field Change
20.07.2011 17:43 tels New Issue
20.07.2011 17:43 tels Relationship added related to 0002796
20.07.2011 17:43 tels Assigned To => tels
20.07.2011 17:43 tels Status new => assigned
05.08.2011 18:03 tels Product Version => TDM 1.06
05.08.2011 18:03 tels Target Version => TDM 1.07
05.08.2011 18:04 tels Relationship added child of 0002779
06.08.2011 17:38 tels Note Added: 0003974
06.08.2011 17:38 tels Status assigned => resolved
06.08.2011 17:38 tels Fixed in Version => TDM 1.07
06.08.2011 17:38 tels Resolution open => fixed