lazarus/languages
vincents c9f8ec214e updated localization
git-svn-id: trunk@5718 -
2004-07-30 20:55:16 +00:00
..
lazaruside.ar.po updated localization 2004-07-30 20:55:16 +00:00
lazaruside.ca.po updated localization 2004-07-30 20:55:16 +00:00
lazaruside.de.po updated localization 2004-07-30 20:55:16 +00:00
lazaruside.es.po updated localization 2004-07-30 20:55:16 +00:00
lazaruside.esutf.po updated localization 2004-07-30 20:55:16 +00:00
lazaruside.fi.po updated localization 2004-07-30 20:55:16 +00:00
lazaruside.fr.po updated localization 2004-07-30 20:55:16 +00:00
lazaruside.he.po updated localization 2004-07-30 20:55:16 +00:00
lazaruside.it.po updated localization 2004-07-30 20:55:16 +00:00
lazaruside.itiso.po updated localization 2004-07-30 20:55:16 +00:00
lazaruside.pl.po updated localization 2004-07-30 20:55:16 +00:00
lazaruside.pliso.po updated localization 2004-07-30 20:55:16 +00:00
lazaruside.plwin.po updated localization 2004-07-30 20:55:16 +00:00
lazaruside.po updated localization 2004-07-30 20:55:16 +00:00
lazaruside.ru.po updated localization 2004-07-30 20:55:16 +00:00
lazaruside.ruwin.po updated localization 2004-07-30 20:55:16 +00:00
objinspstrconsts.ca.po updated localization 2004-07-30 20:55:16 +00:00
objinspstrconsts.de.po updated localization 2004-07-30 20:55:16 +00:00
objinspstrconsts.es.po updated localization 2004-07-30 20:55:16 +00:00
objinspstrconsts.esutf.po updated localization 2004-07-30 20:55:16 +00:00
objinspstrconsts.fi.po updated localization 2004-07-30 20:55:16 +00:00
objinspstrconsts.fr.po updated localization 2004-07-30 20:55:16 +00:00
objinspstrconsts.it.po updated localization 2004-07-30 20:55:16 +00:00
objinspstrconsts.itiso.po updated localization 2004-07-30 20:55:16 +00:00
objinspstrconsts.pl.po updated localization 2004-07-30 20:55:16 +00:00
objinspstrconsts.pliso.po updated localization 2004-07-30 20:55:16 +00:00
objinspstrconsts.plwin.po updated localization 2004-07-30 20:55:16 +00:00
objinspstrconsts.po updated localization 2004-07-30 20:55:16 +00:00
objinspstrconsts.ru.po updated localization 2004-07-30 20:55:16 +00:00
objinspstrconsts.ruwin.po updated localization 2004-07-30 20:55:16 +00:00
README added italian localization 2003-09-02 08:39:16 +00:00

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

There are a few other directories for the codetools and the lcl. They work
all the same. All language files can easily be updated with the
<lazarusdir>/localize.sh script.


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

Hint: this is done by <lazarusdir>/localize.sh

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
french:           lazaruside.fr.po
italian:          lazaruside.it.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.
Hint: this is done by <lazarusdir>/localize.sh too


(The same for objinspstrconsts.xx.po, codetoolsstrconsts.xx.po, lcl.xx.po)
Hint: this is also done by <lazarusdir>/localize.sh