Multi-language-support

Post any examples or modules that you want to share here
Post Reply
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Multi-language-support

Post by tulamide »

Here's a quick draft of how you could support multiple languages in your project.
Attachments
multi_language_support.fsm
(643 Bytes) Downloaded 1022 times
"There lies the dog buried" (German saying translated literally)
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Multi-language-support

Post by tester »

Basically, you probably would prefer to have language localization data in external file(s).

So for example, in your external config file you list available languages (by filename) and set which one is default on load, and then - you create these files (according to config list) with language data.

Alternatively you can create single file for all languages, and use a sort of separator between langs (data|dane|datei), which is used in internal splitter.

It is good to separate your project from localization data, because you don't have to recompile your project over and over again. You just make adjustments in a simple text file.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Post Reply