lazarus/components/synedit/languages
2011-02-23 00:39:05 +00:00
..
README.txt
syndesign.he.po Translations: Hebrew translation update by Ezik Shulamy, bug #17765 2010-10-30 12:46:21 +00:00
syndesign.it.po + added missing Italian translation. Patch by Sandro Cumerlato 2011-02-23 00:39:05 +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.pt_BR.po Translations: changed Brazilian Portuguese language code according to ISO/IANA language and region codes 2011-01-29 12:23:02 +00:00
syndesign.pt.po Translations: added Portuguese translation stub, based on Brazilian Portuguese 2011-01-30 17:39:09 +00:00
syndesign.ru.po SynEdit: updated Russian translation 2010-09-24 17:06:00 +00:00
synedit.ca.po SynEdit: regenerated translations; updated Russian translation 2010-11-18 23:05:30 +00:00
synedit.cs.po SynEdit: regenerated translations; updated Russian translation 2010-11-18 23:05:30 +00:00
synedit.de.po SynEdit: regenerated translations; updated Russian translation 2010-11-18 23:05:30 +00:00
synedit.fi.po SynEdit: regenerated translations; updated Russian translation 2010-11-18 23:05:30 +00:00
synedit.fr.po SynEdit: regenerated translations; updated Russian translation 2010-11-18 23:05:30 +00:00
synedit.he.po SynEdit: regenerated translations; updated Russian translation 2010-11-18 23:05:30 +00:00
synedit.id.po SynEdit: regenerated translations; updated Russian translation 2010-11-18 23:05:30 +00:00
synedit.it.po SynEdit: regenerated translations; updated Russian translation 2010-11-18 23:05:30 +00:00
synedit.lt.po SynEdit: regenerated translations; updated Russian translation 2010-11-18 23:05:30 +00:00
synedit.nl.po SynEdit: regenerated translations; updated Russian translation 2010-11-18 23:05:30 +00:00
synedit.pl.po SynEdit: regenerated translations; updated Russian translation 2010-11-18 23:05:30 +00:00
synedit.po SynEdit: regenerated translations; updated Russian translation 2010-11-18 23:05:30 +00:00
synedit.pt_BR.po Translations: changed Brazilian Portuguese language code according to ISO/IANA language and region codes 2011-01-29 12:23:02 +00:00
synedit.pt.po Translations: added Portuguese translation stub, based on Brazilian Portuguese 2011-01-30 17:39:09 +00:00
synedit.ru.po SynEdit: regenerated translations; updated Russian translation 2010-11-18 23:05:30 +00:00
synedit.ua.po SynEdit: regenerated translations; updated Russian translation 2010-11-18 23:05:30 +00:00
synedit.zh_CN.po SynEdit: regenerated translations; updated Russian translation 2010-11-18 23:05:30 +00:00
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.it.po + added missing Italian translation. Patch by Sandro Cumerlato 2011-02-23 00:39:05 +00:00
synhighlighterunixshellscript.lt.po
synhighlighterunixshellscript.po
synhighlighterunixshellscript.pt_BR.po Translations: changed Brazilian Portuguese language code according to ISO/IANA language and region codes 2011-01-29 12:23:02 +00:00
synhighlighterunixshellscript.pt.po Translations: added Portuguese translation stub, based on Brazilian Portuguese 2011-01-30 17:39:09 +00:00
synhighlighterunixshellscript.ru.po
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.pl.po
synmacrorecorder.po
synmacrorecorder.pt_BR.po Translations: changed Brazilian Portuguese language code according to ISO/IANA language and region codes 2011-01-29 12:23:02 +00:00
synmacrorecorder.pt.po Translations: added Portuguese translation stub, based on Brazilian Portuguese 2011-01-30 17:39:09 +00:00
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.