Lazarus

Programming => Operating Systems => Android => Topic started by: svd71 on September 23, 2019, 11:16:24 am

Title: LAMW: How to do multilanguage application?
Post by: svd71 on September 23, 2019, 11:16:24 am
Hello all.

In the topic is my question. I can't detect which language is a default.

The record TLocale in JNI-environment is empty at run-time.

The variables of GetLanguageIDs() is empty too.
Title: Re: LAMW: How to do multilanguage application?
Post by: Manlio on September 23, 2019, 02:53:51 pm
This works for me:

    gApp.Locale.Iso3Language

But call it after JNIprompt has been triggered at least once, which is when the above field gets populated correctly
Title: Re: LAMW: How to do multilanguage application?
Post by: svd71 on September 24, 2019, 02:48:53 pm
Thank you very much! :)