Recent

Author Topic: [SOLVED] Internationalization of an app  (Read 1951 times)

Alcatiz

  • New Member
  • *
  • Posts: 10
[SOLVED] Internationalization of an app
« on: August 27, 2023, 12:26:45 pm »
Hi to all!

I've activated i18n in the project options, created a languages subdirectory under jni and declared the DefaultTranslator unit in my .lpr source file. But it seems that no .po file is created while compiling. In theory at least button captions should be present in the .po file.

Am I missing anything or is it simply impossible to internationalize an app made through LAMW up to day with Lazarus' native i18n capabilities ?

Thank you by advance :)
« Last Edit: September 10, 2023, 05:40:44 pm by Alcatiz »

Alcatiz

  • New Member
  • *
  • Posts: 10
Re: Internationalization of an app
« Reply #1 on: September 10, 2023, 05:40:23 pm »
Well if I use resourcestrings, a regular .po file is created. So it seems that Lazarus' i18n functionality doesn't manage any Android components, unlike the LCL ones.

Solved for me. :)

Alcatiz

  • New Member
  • *
  • Posts: 10
Re: [SOLVED] Internationalization of an app
« Reply #2 on: September 10, 2023, 06:00:46 pm »
It seems the DefaultTranslator unit isn't supported at all, so internationalization with Lazarus' i18n is not possible.

maurobio

  • Hero Member
  • *****
  • Posts: 623
  • Ecology is everything.
    • GitHub
Re: [SOLVED] Internationalization of an app
« Reply #3 on: September 22, 2023, 08:36:18 pm »
Hi, @alcatiz!

I struggled with the same problem sometime ago, just the reach the same conclusion yourself reached.

There are too many things in which LAMW just stops right off the mark : it "almost" allows this, it "nearly" achieves that - and so on and on and on...

Best regards,
UCSD Pascal / Burroughs 6700 / Master Control Program
Delphi 7.0 Personal Edition
Lazarus 2.0.12 - FPC 3.2.0 on GNU/Linux Mint 19.1, Lubuntu 18.04, Windows XP SP3, Windows 7 Professional, Windows 10 Home

Mongkey

  • Sr. Member
  • ****
  • Posts: 433
Re: [SOLVED] Internationalization of an app
« Reply #4 on: September 23, 2023, 02:54:16 am »
Did you guys ever use another android IDE ?  :D, like android studio or even flutter, i think you guys seems going very hard to understand and to code than this LAMW framework, if you are from pascal user before. Even lazarus brother that come with huge money backed and marketing support -> delphi has a lots things to fix, in my point of view.
« Last Edit: September 23, 2023, 03:44:34 am by Mongkey »

 

TinyPortal © 2005-2018