Author Topic: Sorry I broke all your strings  (Read 3459 times)

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2161
    • View Profile
Sorry I broke all your strings
« 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
« Last Edit: October 02, 2013, 02:24:27 am by SupSuper »

Offline tyran_nick

  • Captain
  • ***
  • Posts: 59
    • View Profile
Re: Sorry I broke all your strings
« Reply #1 on: September 30, 2013, 10:55:52 am »
Thanks, I was wondering what was the fix!

Offline MFive

  • Captain
  • ***
  • Posts: 95
  • Lazy Sectoid
    • View Profile
Re: Sorry I broke all your strings
« Reply #2 on: October 03, 2013, 10:39:26 pm »
should pin this, have found it very useful :D