OpenXcom Forum

Contributions => Translations => Topic started by: moriarty on October 03, 2013, 11:01:19 pm

Title: defining a "default" language?
Post by: moriarty 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... ;)
Title: Re: defining a "default" language?
Post by: SupSuper 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
Title: Re: defining a "default" language?
Post by: moriarty 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?
Title: Re: defining a "default" language?
Post by: tyran_nick 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.