[Lazarus] Resource strings

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Feb 21 11:00:48 CET 2008


On Thu, 21 Feb 2008 09:55:00 +0200
Alex du Plessis <alexdup01 at telkomsa.net> wrote:

> Graeme Geldenhuys wrote:
> > On 21/02/2008, Alex du Plessis <alexdup01 at telkomsa.net> wrote:
> >   
> >> Hello list
> >>
> >>  I have an application which implements resource sections.  When I
> >>  compile, only the main file .po file is created and not a .po
> >> file for the unit in which the resourcestring section resides.

check IDE / Project / Project options / i18n / enable i18n
and set a subdirectory. For example 'languages'.


> > Compiling a project that uses the resourcestring section doesn't
> > create .po files. It creates *.rst files.  You first need to run a
> > conversion tool to get it into a .po file format.
> >
> > eg:
> >    rstconv -i uitext.rst -o languages/uitext.po

In the old days.


Mattias



More information about the Lazarus mailing list