View Issue Details

IDProjectCategoryView StatusLast Update
0002815The Dark ModCodingpublic06.08.2011 17:40
Reportertels Assigned Totels  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 1.06 
Target VersionTDM 1.07Fixed in VersionTDM 1.07 
Summary0002815: Support FM short descriptions in other languages
DescriptionIn DarkMod/Missions/ModInfo.cpp around line 215, TDM looks for the string "Description:".

Here we should also parse (and ignore) any string that looks like "Description LanguageNameHere:" and store it. Then when the mod info is requested, return the proper language version, or fall back to English.

This also means this file must be parsed in UTF-8 and the text be converted to either ISO-8859-1 or Windows 1251, depending on language.

Alternatively, we could simple look for a file "darkmod_LANGUAGE.txt" instead, that would us also allow to translate the title (or author) of the FM.
TagsNo tags attached.

Relationships

related to 0002797 resolvedtels Add support for FM specific translations 
child of 0002779 confirmed Translate the menu and HUD into different languages 

Activities

tels

tels

05.08.2011 16:57

reporter   ~0003970

Entering the description as "#str_21000" and then supplying the different translations in strings/fm/LANGUAGE.lang files should also work. Test this.
tels

tels

06.08.2011 17:40

reporter   ~0003975

This has been fixed by check-ins 0004935 and 0004942. TDM now loads FM specific translations (from files like strings/fm/english.lang) and can handle FM titles/descriptions in darkmod.txt like:

Title: #str_20000
Description: #str_20001

The list of available-to-play missions is also properly translated, and potential articles like "The " are removed across languages after the translation.

Issue History

Date Modified Username Field Change
17.07.2011 13:47 tels New Issue
17.07.2011 13:47 tels Status new => assigned
17.07.2011 13:47 tels Assigned To => tels
17.07.2011 13:47 tels Relationship added child of 0002779
17.07.2011 13:50 tels Relationship added related to 0002797
17.07.2011 14:38 tels Summary Support FM short descriptions in other langauges => Support FM short descriptions in other languages
17.07.2011 14:38 tels Description Updated View Revisions
05.08.2011 16:57 tels Note Added: 0003970
06.08.2011 17:40 tels Note Added: 0003975
06.08.2011 17:40 tels Status assigned => resolved
06.08.2011 17:40 tels Fixed in Version => TDM 1.07
06.08.2011 17:40 tels Resolution open => fixed