LiveCode Localization?

Matthias Rebbe matthias_livecode_150811 at
Sat Mar 16 17:21:04 EDT 2019

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.



Matthias Rebbe

free tools for Livecoders: <> <>

> Am 16.03.2019 um 21:17 schrieb kee nethery via use-livecode <use-livecode at <mailto:use-livecode at>>:
> 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 at <mailto:use-livecode at>
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list