[Lazarus] Lazarus and it's i18n usage

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Jun 18 19:17:28 CEST 2010


On Thu, 10 Jun 2010 00:31:46 +0400
Maxim Ganetsky <ganmax at narod.ru> wrote:

> 10.06.2010 0:11, Žilvinas Ledas пишет:
> > Hello all,
> >
> > is it possible to use integrated i18n and .po generation functions only
> > with some units?
> > For example I do not want to generate translation strings from my main
> > form components .caption fields as I assign resource strings to them
> > from another unit myself. How can I instruct Lazarus to generate .po
> > files only from resource strings in certain unit?
> > Thanks.
> 
> This is not yet possible AFAIK. 

Now you can disable the .po file creation for every lfm via the
project inspector.

See here:
http://wiki.lazarus.freepascal.org/IDE_Window:_Project_Inspector#Disable_I18N_for_lfm

> In order to achieve the desired result 
> you should use Translations unit and disable automatic .po generation by 
> IDE.


Mattias
 




More information about the Lazarus mailing list