[Lazarus] Different language of project than IDE has

Bart bartjunk64 at gmail.com
Tue Dec 23 12:15:14 CET 2008


>  How can I set different language of resource files inside of my
>  application than IDE has got.
>
>  I use and I don't want to change EN language of IDE, but the result of
>  my work should contain german resources in dialogs, ... Instead of
>  Yes/No to show Ja/Nein in messageboxex, also exceptions in german.

Take a look at the translation unit.
You must provide the lclstrconst.de.po file with your app, so you can
ranslate all resourcestrings to german at runtime.

There is an example in the wiki:
http://wiki.freepascal.org/Getting_translation_strings_right#ResourceStrings_in_your_Application

Bart



More information about the Lazarus mailing list