lazarus/components/codetools/languages
2015-01-27 23:10:25 +00:00
..
codetoolsstrconsts.ca.po codetools: removed resourcestring 2014-06-26 13:08:08 +00:00
codetoolsstrconsts.cs.po codetools: removed resourcestring 2014-06-26 13:08:08 +00:00
codetoolsstrconsts.de.po Translations: German translation update by Swen Heinig 2014-07-02 19:59:03 +00:00
codetoolsstrconsts.es.po codetools: removed resourcestring 2014-06-26 13:08:08 +00:00
codetoolsstrconsts.fi.po Improvements for Finnish translation. 2015-01-21 00:17:13 +00:00
codetoolsstrconsts.fr.po codetools: removed resourcestring 2014-06-26 13:08:08 +00:00
codetoolsstrconsts.he.po codetools: removed resourcestring 2014-06-26 13:08:08 +00:00
codetoolsstrconsts.hu.po Translations: Hungarian translation update by Péter Gábor, bug #27365 2015-01-27 23:10:25 +00:00
codetoolsstrconsts.id.po codetools: removed resourcestring 2014-06-26 13:08:08 +00:00
codetoolsstrconsts.it.po Updated Italian translation 2014-10-25 08:56:56 +00:00
codetoolsstrconsts.lt.po codetools: removed resourcestring 2014-06-26 13:08:08 +00:00
codetoolsstrconsts.nl.po codetoolsstrconsts.nl.po: fix incompatible format arguments. 2014-06-28 22:25:29 +00:00
codetoolsstrconsts.pl.po codetools: removed resourcestring 2014-06-26 13:08:08 +00:00
codetoolsstrconsts.po codetools: removed resourcestring 2014-06-26 13:08:08 +00:00
codetoolsstrconsts.pt_BR.po codetools: removed resourcestring 2014-06-26 13:08:08 +00:00
codetoolsstrconsts.ru.po codetools: removed resourcestring 2014-06-26 13:08:08 +00:00
codetoolsstrconsts.sk.po codetools: removed resourcestring 2014-06-26 13:08:08 +00:00
codetoolsstrconsts.uk.po codetools: removed resourcestring 2014-06-26 13:08:08 +00:00
codetoolsstrconsts.zh_CN.po codetools: removed resourcestring 2014-06-26 13:08:08 +00:00
README.txt

The <lazarusdir>/components/codetools/languages directory contains all the stuff
for internationalization of the codetools.

All text and messages used in the codetools should be placed into the unit
codetoolsstrconsts.pas. This unit uses a resourcestring section, so that the
compiler will create the
<lazarusdir>/components/units/codetoolsstrconsts.rst file.

The following is a in detail description of updating the language files for
the codetools. Normally you can just execute the <lazarusdir>/localize.sh
script.

Since this is a fpc-only format it must be converted with the rstconv program:

cd <lazarusdir>/components/codetools/languages
rstconv -i ../../units/codetoolsstrconsts.rst -o codetools.po

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

german: codetools.de.po


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

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

where xx is the language id.