[Lazarus] external tools

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Oct 17 23:15:39 CEST 2008


On Fri, 17 Oct 2008 22:26:20 +0200
Benito van der Zander <benito at benibela.de> wrote:

> 
> > Why not simply parse all .rst files?
> > Or enable i18n and read the .po files?
> >   
> Because I use the program to create the rst files in the first place.
> Normally you have to declare a variable for every string to translate,

... which is pretty simple in lazarus. I press my shortcut, press
enter and have my resourcestring.


> with the program you can just write tr['string to translate'] and 
> nothing more.

What can tr[] do better than resourcestrings?


> The only problem is how to call it elegant.

Resourcestrings are elegant and flexible, because you can distinguish
resourcestring sections. In lazarus every package/project
has its own set of resourcestrings.

Mattias



More information about the Lazarus mailing list