aliens

Author Topic: Unfinished translation and fallbacks  (Read 4500 times)

Offline werbfred

  • Squaddie
  • *
  • Posts: 5
    • View Profile
Unfinished translation and fallbacks
« on: August 29, 2014, 10:09:57 pm »
What would you think of making it possible to choose a secondary language as fallback when no translation string is available?

Actually only english/american is fully available, and you get a lot of awfull STR_XXX_XXX strings, if the string does has not been translated. This is the case for most MODs. Choosing a fallback language could be optional for those that like the fancy STR_XXX_XXX strings  8), or those who want to participate in translating the GUI. Myself started working on translating to french a few MODs and hope to be able to submit my participation to MODders.

Otherwise.... great job !

Re: Unfinished translation and fallbacks
« Reply #1 on: August 30, 2014, 12:18:09 am »
It will be nice, but I don't know it's possible to code it :P

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: Unfinished translation and fallbacks
« Reply #2 on: August 30, 2014, 12:39:24 am »
It's possible. And it will probably dont need lot of code to do it.

Offline moriarty

  • Commander
  • *****
  • Posts: 1421
    • View Profile
    • Luke's OX mod site
Re: Unfinished translation and fallbacks
« Reply #3 on: August 30, 2014, 07:52:29 am »
I support the suggestion. Something like "if the string isn't defined for current active language, use the language I designate as "secondary", if that's not there either, use en-US string (as that is probably closest to a "default" language), if that doesn't exist either, use whatever is there" ;)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11721
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Unfinished translation and fallbacks
« Reply #4 on: August 30, 2014, 06:00:57 pm »
Falko's modtester tool has a feature that automatically copies strings from EN to US or vice versa if one of them is missing.