[Lazarus] .mo files not working in multi language

Maxim Ganetsky ganmax at narod.ru
Thu Jul 22 23:02:27 CEST 2021


22.07.2021 15:41, Dietmar Braun via lazarus пишет:
> Hi,
> 
> On 20.07.2021 23:36, Maxim Ganetsky via lazarus wrote:
>> Make sure you are using at least Lazarus 2.2 RC1.
>> Make sure you do not have PO and POT files in this subdirectory.
> 
> one further question:
> Is it possible to add the .mo files as resources so that they are being 
> hold in the exe file? How could I achieve this?

Put them to RES or LRS file, link this file to your program, then 
extract them at runtime to some directory and load it from there.

-- 
Best regards,
  Maxim Ganetsky                  mailto:ganmax at narod.ru


More information about the lazarus mailing list