Recent

Author Topic: LAMW: How to do multilanguage application?  (Read 896 times)

svd71

  • New Member
  • *
  • Posts: 29
LAMW: How to do multilanguage application?
« 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.

Manlio

  • Full Member
  • ***
  • Posts: 162
  • Pascal dev
Re: LAMW: How to do multilanguage application?
« Reply #1 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
manlio mazzon gmail

svd71

  • New Member
  • *
  • Posts: 29
Re: LAMW: How to do multilanguage application?
« Reply #2 on: September 24, 2019, 02:48:53 pm »
Thank you very much! :)

 

TinyPortal © 2005-2018