lazarus/components/synedit/languages
2010-10-12 20:49:14 +00:00
..
README.txt
syndesign.he.po Translations: Hebrew translation update by Ezik Shulamy, bugs #17477-17484 2010-09-24 17:04:51 +00:00
syndesign.pb.po Translations: Portuguese translation update by Marcelo B Paula, bug #17613 2010-10-12 20:49:14 +00:00
syndesign.po SynEdit: added SynDesign string constants translations and fixed typo in syndesignstringconstants.pas. 2010-09-24 17:01:14 +00:00
syndesign.ru.po SynEdit: updated Russian translation 2010-09-24 17:06:00 +00:00
synedit.ca.po
synedit.cs.po * 1) renamed Czech translation files to *.cs.po (in accordance with ISO 639-1 standard). This makes automatic Czech translation selection work. Bug #17048. 2010-07-28 20:58:37 +00:00
synedit.de.po
synedit.fi.po
synedit.fr.po
synedit.he.po Translations: Hebrew translation update by Ezik Shulamy, bugs #17477-17484 2010-09-24 17:04:51 +00:00
synedit.id.po
synedit.it.po
synedit.lt.po regenerated translations; updated Russian translation 2010-06-02 23:10:50 +00:00
synedit.nl.po
synedit.pb.po Portuguese translation update by Marcelo B Paula, bug #17176. 2010-08-15 14:01:26 +00:00
synedit.pl.po
synedit.po
synedit.ru.po Translations: 2010-09-22 16:29:13 +00:00
synedit.ua.po
synedit.zh_CN.po
synhighlighterunixshellscript.de.po
synhighlighterunixshellscript.he.po Translations: Hebrew translation update by Ezik Shulamy, bugs #17477-17484 2010-09-24 17:04:51 +00:00
synhighlighterunixshellscript.id.po
synhighlighterunixshellscript.lt.po
synhighlighterunixshellscript.pb.po
synhighlighterunixshellscript.po
synhighlighterunixshellscript.ru.po Translations: 2010-09-22 16:29:13 +00:00
synhighlighterunixshellscript.zh_CN.po
synmacrorecorder.ca.po
synmacrorecorder.de.po
synmacrorecorder.es.po
synmacrorecorder.fr.po
synmacrorecorder.he.po Translations: Hebrew translation update by Ezik Shulamy, bugs #17477-17484 2010-09-24 17:04:51 +00:00
synmacrorecorder.id.po
synmacrorecorder.it.po
synmacrorecorder.lt.po
synmacrorecorder.pb.po
synmacrorecorder.pl.po
synmacrorecorder.po
synmacrorecorder.ru.po
synmacrorecorder.ua.po
synmacrorecorder.zh_CN.po

The <lazarusdir>/components/synedit/languages directory contains all the stuff
for localization of synedit.

All text and messages used in synedit should be placed into the unit
syneditstrconst.pp. This unit uses resourcestring sections, so that the
compiler will create the
<lazarusdir>/components/units/syneditstrconst.rst file.
<lazarusdir>/components/units/synmacrorecorder.rst file.

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

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

cd <lazarusdir>/components/synedit/languages
rstconv -i ../../units/syneditstrconst.rst -o synedit.po
rstconv -i ../../units/synmacrorecorder.rst -o synmacrorecorder.po

This will create the files synedit.po and synmacrorecorder.po, which should be
translated in all required languages to a synedit.xx.po and a
synmacrorecorder.xx.po file. For the xx see the gettext unit in the procedure
TranslateResourceStrings of the IDE.

german: synedit.de.po and synmacrorecorder.de.po


After the translation, the both po file are converted to .mo files with the
msgfmt program:

msgfmt -v -o synedit.xx.mo synedit.xx.po
msgfmt -v -o synmacrorecorder.xx.mo synmacrorecorder.xx.po

where xx is the language id.