OpenXcom Forum

Modding => Work In Progress => Topic started by: SupSuper on September 30, 2013, 05:27:55 am

Title: Sorry I broke all your strings
Post by: SupSuper on September 30, 2013, 05:27:55 am
With the translation overhaul, all the language filenames are different now. This means in rulesets where you have:
Code: [Select]
extraStrings:
  - type: English
    strings:
      STR_SNIPER_RIFLE: Sniper Rifle
      STR_SNIPER_RIFLE_CLIP: Sniper Rifle Clip

Need to be replaced with:
Code: [Select]
extraStrings:
  - type: en-US
    strings:
      STR_SNIPER_RIFLE: Sniper Rifle
      STR_SNIPER_RIFLE_CLIP: Sniper Rifle Clip

And so on for other languages. Sorry for the inconvenience. :-[

For reference:
bg-BG = Bulgarian
cs-CZ = Czech
da = Danish
nl = Dutch
en-US = English
en-GB = EnglishUk
fr = French
de = German
hu-HU = Hungarian
it = Italian
pl-PL = Polish
pt-PT = Portuguese
ro = Romanian
ru = Russian
es = Spanish
es-419 = SpanishAL
uk = Ukranian
Title: Re: Sorry I broke all your strings
Post by: tyran_nick on September 30, 2013, 10:55:52 am
Thanks, I was wondering what was the fix!
Title: Re: Sorry I broke all your strings
Post by: MFive on October 03, 2013, 10:39:26 pm
should pin this, have found it very useful :D