Re: [Lazarus] .mo files not working in multi language

2021-07-20 Thread Maxim Ganetsky via lazarus

21.07.2021 0:03, Dietmar Braun via lazarus пишет:

Hi!

sorry if I'm wrong here, but I posed my question in the Lazarus forum 
and was redirected here, so I am asking here again...


After some years of pausing Lazarus development, I just started again 
with a small project and the problems I had years ago with MultiLanguage 
- these days, I managed to create a working multilanguage application, 
but when I try to distribute it, I run into problems.


My directory structure looks like this:
project (main folder): project1.exe
!--languages (sub folder): project1.de.mo, project1.en.mo


Make sure you are using at least Lazarus 2.2 RC1.
Make sure you do not have PO and POT files in this subdirectory.

With this setting, switching from the default (German) to English (en) 
does not work. It seems the .mo files are just being ignored. When I add 
the .PO files to the subfolder, it works.


Can you advise? I just don't want to have to distribute the plain text 
.po files...


Thx!
Dietmar




--
Best regards,
 Maxim Ganetsky  mailto:gan...@narod.ru
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] .mo files not working in multi language

2021-07-20 Thread Dietmar Braun via lazarus

Hi!

sorry if I'm wrong here, but I posed my question in the Lazarus forum 
and was redirected here, so I am asking here again...


After some years of pausing Lazarus development, I just started again 
with a small project and the problems I had years ago with MultiLanguage 
- these days, I managed to create a working multilanguage application, 
but when I try to distribute it, I run into problems.


My directory structure looks like this:
project (main folder): project1.exe
!--languages (sub folder): project1.de.mo, project1.en.mo

With this setting, switching from the default (German) to English (en) 
does not work. It seems the .mo files are just being ignored. When I add 
the .PO files to the subfolder, it works.


Can you advise? I just don't want to have to distribute the plain text 
.po files...


Thx!
Dietmar


OpenPGP_0x4A7DA0A7766EC11F.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus