lazarus/components/synedit/languages
maxim 684c367b8a IDE: changed extension of master PO files (a.k.a. templates) from .po to .pot, adapted IDE, POChecker, updatepofiles tool and localize.bat/.sh scripts.
Reasons:
1. .pot is 'industry standard' extension for PO template files. As a consequence, PO editors can now open our templates 'out of the box' and automate creation of translations.
2. It is now much simpler to detect template files now that dotted unit names are allowed.

git-svn-id: trunk@60208 -
2019-01-24 23:02:37 +00:00
..
README.txt
syndesignstringconstants.cs.po
syndesignstringconstants.de.po
syndesignstringconstants.es.po
syndesignstringconstants.fr.po
syndesignstringconstants.he.po
syndesignstringconstants.hu.po
syndesignstringconstants.it.po
syndesignstringconstants.lt.po
syndesignstringconstants.pl.po Translations: Polish translation update by Sławomir Niedziela, bug #34788 2019-01-04 13:58:31 +00:00
syndesignstringconstants.pot IDE: changed extension of master PO files (a.k.a. templates) from .po to .pot, adapted IDE, POChecker, updatepofiles tool and localize.bat/.sh scripts. 2019-01-24 23:02:37 +00:00
syndesignstringconstants.pt_BR.po
syndesignstringconstants.ru.po
syndesignstringconstants.uk.po
syndesignstringconstants.zh_CN.po
syneditstrconst.ca.po SynEdit, PasHighlighter: color for procedure name in declaration/header. Issue #0033569 2018-07-14 13:56:25 +00:00
syneditstrconst.cs.po SynEdit, PasHighlighter: color for procedure name in declaration/header. Issue #0033569 2018-07-14 13:56:25 +00:00
syneditstrconst.de.po SynEdit, PasHighlighter: color for procedure name in declaration/header. Issue #0033569 2018-07-14 13:56:25 +00:00
syneditstrconst.es.po SynEdit, PasHighlighter: color for procedure name in declaration/header. Issue #0033569 2018-07-14 13:56:25 +00:00
syneditstrconst.fi.po SynEdit, PasHighlighter: color for procedure name in declaration/header. Issue #0033569 2018-07-14 13:56:25 +00:00
syneditstrconst.fr.po Translations: French translation update by Gilles Vasseur, bug #34428 2018-10-16 22:48:41 +00:00
syneditstrconst.he.po SynEdit, PasHighlighter: color for procedure name in declaration/header. Issue #0033569 2018-07-14 13:56:25 +00:00
syneditstrconst.hu.po Translations: Hungarian translation update by Péter Gábor, bug #34397 2018-10-09 22:41:03 +00:00
syneditstrconst.id.po SynEdit, PasHighlighter: color for procedure name in declaration/header. Issue #0033569 2018-07-14 13:56:25 +00:00
syneditstrconst.it.po SynEdit, PasHighlighter: color for procedure name in declaration/header. Issue #0033569 2018-07-14 13:56:25 +00:00
syneditstrconst.lt.po SynEdit, PasHighlighter: color for procedure name in declaration/header. Issue #0033569 2018-07-14 13:56:25 +00:00
syneditstrconst.nl.po SynEdit, PasHighlighter: color for procedure name in declaration/header. Issue #0033569 2018-07-14 13:56:25 +00:00
syneditstrconst.pl.po Translations: Polish translation update by Sławomir Niedziela, bug #34788 2019-01-04 13:58:31 +00:00
syneditstrconst.pot IDE: changed extension of master PO files (a.k.a. templates) from .po to .pot, adapted IDE, POChecker, updatepofiles tool and localize.bat/.sh scripts. 2019-01-24 23:02:37 +00:00
syneditstrconst.pt_BR.po Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #34139 2018-08-19 23:08:36 +00:00
syneditstrconst.ru.po SynEdit: updated Russian translation 2018-07-16 23:02:10 +00:00
syneditstrconst.uk.po Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #34005 2018-07-19 22:41:44 +00:00
syneditstrconst.zh_CN.po Translations: Chinese translation update by robsean, bug #34579 2018-11-22 00:03:32 +00:00
synhighlighterunixshellscript.cs.po
synhighlighterunixshellscript.de.po
synhighlighterunixshellscript.es.po
synhighlighterunixshellscript.fr.po
synhighlighterunixshellscript.he.po
synhighlighterunixshellscript.hu.po
synhighlighterunixshellscript.id.po
synhighlighterunixshellscript.it.po
synhighlighterunixshellscript.lt.po
synhighlighterunixshellscript.pot IDE: changed extension of master PO files (a.k.a. templates) from .po to .pot, adapted IDE, POChecker, updatepofiles tool and localize.bat/.sh scripts. 2019-01-24 23:02:37 +00:00
synhighlighterunixshellscript.pt_BR.po
synhighlighterunixshellscript.ru.po
synhighlighterunixshellscript.uk.po
synhighlighterunixshellscript.zh_CN.po
synmacrorecorder.cs.po
synmacrorecorder.de.po
synmacrorecorder.es.po
synmacrorecorder.fr.po
synmacrorecorder.he.po
synmacrorecorder.hu.po
synmacrorecorder.id.po
synmacrorecorder.it.po
synmacrorecorder.lt.po
synmacrorecorder.pl.po Translations: Polish translation update by Sławomir Niedziela, bug #34788 2019-01-04 13:58:31 +00:00
synmacrorecorder.pot IDE: changed extension of master PO files (a.k.a. templates) from .po to .pot, adapted IDE, POChecker, updatepofiles tool and localize.bat/.sh scripts. 2019-01-24 23:02:37 +00:00
synmacrorecorder.pt_BR.po
synmacrorecorder.ru.po
synmacrorecorder.uk.po
synmacrorecorder.zh_CN.po Translations: Chinese translation update by robsean, bug #34579 2018-11-22 00:03:32 +00:00

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.