[Lazarus] .mo files not working in multi language
Maxim Ganetsky
ganmax at narod.ru
Fri Jul 23 00:50:46 CEST 2021
23.07.2021 1:08, Bart via lazarus пишет:
> On Thu, Jul 22, 2021 at 11:02 PM Maxim Ganetsky via lazarus
> <lazarus at lists.lazarus-ide.org> wrote:
>
>
>> 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.
>
> Can't you use them from the resource like you can with po-files?
>
> From one of my units that does thi using old style .lrs resource:
Yes, this should work the same way for MO files. In this case
LCLTranslator unit will not help, functions from GetText should be
called instead.
--
Best regards,
Maxim Ganetsky mailto:ganmax at narod.ru
More information about the lazarus
mailing list