lazarus/languages
mattias bba7efd634 added spanish support
git-svn-id: trunk@3392 -
2002-10-01 15:45:22 +00:00
..
lazaruside.de.po MG: added russian translation from Vasily 2002-09-13 07:13:52 +00:00
lazaruside.es.po added spanish support 2002-10-01 15:45:22 +00:00
lazaruside.po MWE: Applied patch from "Andrew Johnson" <aj_genius@hotmail.com> 2002-09-27 20:52:23 +00:00
lazaruside.ru.po MWE: Applied patch from "Andrew Johnson" <aj_genius@hotmail.com> 2002-09-27 20:52:23 +00:00
objinspstrconsts.de.po added spanish support 2002-10-01 15:45:22 +00:00
objinspstrconsts.po added spanish support 2002-10-01 15:45:22 +00:00
README added spanish support 2002-10-01 15:45:22 +00:00

The <lazarusdir>/languages directory contains all the stuff for
internationalization of the lazarus IDE.

All text and messages used in the IDE (except the special designer units)
should be placed into the unit lazarusidestrconsts.pas. This unit uses a
resourcestring section, so that the compiler will create the
<lazarusdir>/lazarusidestrconsts.rst file.
Since this is a fpc-only format it must be converted with the rstconv program:

cd <lazarusdir>/languages
rstconv -i ../lazarusidestrconsts.rst -o lazaruside.po

This will create the file lazaruside.po, which should be translated in all
required languages to a lazaruside.xx.po file. For the xx see the gettext unit
in the procedure TranslateResourceStrings.

german:           lazaruside.de.po
russian (KOI8-R): lazaruside.ru.po
spanish:          lazaruside.es.po


After the translation, the lazaruside.xx.po file is converted to an .mo file
with the msgfmt program:

msgfmt -v -o lazaruside.xx.mo lazaruside.xx.po

where xx is the language id.


(The same for objinspstrconsts.xx.po)