aliens

Author Topic: defining a "default" language?  (Read 5707 times)

Offline moriarty

  • Commander
  • *****
  • Posts: 1421
    • View Profile
    • Luke's OX mod site
defining a "default" language?
« on: October 03, 2013, 11:01:19 pm »
as a modder, I think it would be nice if it was possible to define a "default" language that is used if no proper string in the chosen language is defined. is that in any way possible?

because I think it would be nice if people not playing in en-US could still enjoy some name for the new strings, even if it's not in their own language, it is definitely better than the "STR_WHATEVER_SOMETHING_OR_OTHER" clogging up the research/manufacture/inventory/ufopaedia screens... :) and I will definitely not bloat my mod rulesets with a several-page-long string name list for a load of languages I don't even understand... ;)

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: defining a "default" language?
« Reply #1 on: October 04, 2013, 03:27:16 am »
Yeah that can be arranged. The only reason I didn't do it earlier is because seeing "STR_WHATEVER_SOMETHING_OR_OTHER" encouraged translators to fix their mistakes. :P

Offline moriarty

  • Commander
  • *****
  • Posts: 1421
    • View Profile
    • Luke's OX mod site
Re: defining a "default" language?
« Reply #2 on: October 04, 2013, 06:15:54 am »
True... perhaps it is possible to only use it for the additional strings that are used in mods? So I would define the strings in the mod as "language: default", and this makes them show up in any language where they aren't defined otherwise?

Offline tyran_nick

  • Captain
  • ***
  • Posts: 59
    • View Profile
Re: defining a "default" language?
« Reply #3 on: October 16, 2013, 03:02:54 am »
A default string setting for mods would be very helpful. Typically modders will only know just a handful of languages, so reverting to English when a localisation is missing would be useful. I would suggest to make either en-US or en-GB the default language for mod strings.