I have one program that supports German and English.
I have created custom a property set for each language.
 
When the user switches the language for example to German
then i do a
set the custompropertyset of this stack to "de"
and then i call init_gui, which is a custom command that switches all text and 
button labels to the selected language.

For localized answer dialogs i am also using the custom property set.

Answer dialogs would be like this:
answer the ask_target_folder of this stack with "OK" or the btn_cancel of this 
stack


in my German property set 
ask_target_folder has the value "Bitte Zielordner wählen"
btn_cancel    is "Abbrechen"
in the English set the values are "Please select target folder" and "cancel"

and so on.

this allows me to add a new language just by adding another custom property set 
 with values in that new language.

I am not sure if this is the best way. At least it is working here for me.

Regards,

Matthias




Matthias Rebbe

free tools for Livecoders:
https://instamaker.dermattes.de <https://instamaker.dermattes.de/>
https://winsignhelper.dermattes.de <https://winsignhelper.dermattes.de/>

> Am 16.03.2019 um 21:17 schrieb kee nethery via use-livecode 
> <use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>>:
> 
> Does anyone on this list have an app that you localize into other languages 
> (French, German, Japanese, etc)?
> 
> If so, I’d like to ask you how you support localization. Want to see if there 
> is a common method since LiveCode does not support the techniques used by 
> macOS, iOS, Android, Windows.
> 
> Thanks,
> 
> Kee Nethery
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to