On Tue, 9 May 2006 20:35:53 +0200 "Christian U." <[EMAIL PROTECTED]> wrote:
> Lazarus itself maybe a good crash course example :) > > every String in your application you want to translate have to be an > > resourcestring > strtest = 'You can declare me like an constant'; > > > uses gettext; > > Formcreate or simelar > begin > TranslateResourcestrings(ProgramDirectory+'languages'+Directoryseparato > r+LangName+'.mo'); > end; > > thats all, now you can create .mo files how to do take a look at the > lazarus makefile Lazarus does not use .mo files anymore. It uses the .po files directly. See unit lcl/translations.pas. The header contains an example. > you have to use makeres to create .po from .rst and then you can translate See localize.sh and/or localize.bat for examples how to create the untranslated .po file. > at example with poEdit > witch creates .mo automatically that can uses by TranslateResourcestrings > .... > > or you take a look at great lazarus documantation in the wiki that had > made it unuseable that i have > written this mail lol but i have forgot about that Vincent has the translation system on his todo items on the road to lazarus 1.0. Mattias _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives