1 Oct 01:15
Re: App Localization
Luis Rodrigues <l17173 <at> alunos.uevora.pt>
2007-09-30 23:15:16 GMT
2007-09-30 23:15:16 GMT
Hi,
Attached there is a patch do implement app localization automatically.
If Enable 18n is checked in project options when an app is compiled a
appname.po file is generated with the forms strings and
resourcestrings.
Then create a languages/LANG in the program working directory (there are
other options, check defaulttranslator.pas), compile the po into a mo
file and place it there.
Is also necessary to add DefaultTranslator.pas do the main unit uses
clause.
This patch mainly cleans the existing code that was {IFDEFed
TRANSLATESTRING}.
Comments please.
Regards,
Luís
On Fri, 2007-09-28 at 17:06 +0100, Luis Rodrigues wrote:
> Hello,
>
> after some time trying to understand the code I found that what I want
> is all ready implemented.
>
(Continue reading)
RSS Feed