lazarus/components/synedit/languages
2017-07-08 12:47:30 +00:00
..
README.txt
syndesignstringconstants.cs.po
syndesignstringconstants.de.po
syndesignstringconstants.es.po
syndesignstringconstants.fr.po
syndesignstringconstants.he.po
syndesignstringconstants.hu.po Regenerated translations 2016-06-08 21:59:41 +00:00
syndesignstringconstants.it.po
syndesignstringconstants.lt.po
syndesignstringconstants.po
syndesignstringconstants.pt_BR.po
syndesignstringconstants.ru.po
syndesignstringconstants.uk.po Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #30250 2016-06-08 23:13:31 +00:00
syneditstrconst.ca.po SynEdit: Clicks on overview gutter. Issue #30012 po files 2016-05-09 19:17:55 +00:00
syneditstrconst.cs.po SynEdit: Clicks on overview gutter. Issue #30012 po files 2016-05-09 19:17:55 +00:00
syneditstrconst.de.po SynEdit: Clicks on overview gutter. Issue #30012 po files 2016-05-09 19:17:55 +00:00
syneditstrconst.es.po SynEdit: Clicks on overview gutter. Issue #30012 po files 2016-05-09 19:17:55 +00:00
syneditstrconst.fi.po SynEdit: Clicks on overview gutter. Issue #30012 po files 2016-05-09 19:17:55 +00:00
syneditstrconst.fr.po Translations: French translation update by Gilles Vasseur, bug #31978 2017-06-09 22:52:45 +00:00
syneditstrconst.he.po SynEdit: Clicks on overview gutter. Issue #30012 po files 2016-05-09 19:17:55 +00:00
syneditstrconst.hu.po Translations: Hungarian translation update by Péter Gábor, bug #30581 2016-09-10 12:59:39 +00:00
syneditstrconst.id.po SynEdit: Clicks on overview gutter. Issue #30012 po files 2016-05-09 19:17:55 +00:00
syneditstrconst.it.po SynEdit: Clicks on overview gutter. Issue #30012 po files 2016-05-09 19:17:55 +00:00
syneditstrconst.lt.po Translations: Lithuanian translation update by Valdas Jankūnas, bug #32126 2017-07-08 12:47:30 +00:00
syneditstrconst.nl.po SynEdit: Clicks on overview gutter. Issue #30012 po files 2016-05-09 19:17:55 +00:00
syneditstrconst.pl.po SynEdit: Clicks on overview gutter. Issue #30012 po files 2016-05-09 19:17:55 +00:00
syneditstrconst.po SynEdit: Clicks on overview gutter. Issue #30012 po files 2016-05-09 19:17:55 +00:00
syneditstrconst.pt_BR.po SynEdit: Clicks on overview gutter. Issue #30012 po files 2016-05-09 19:17:55 +00:00
syneditstrconst.ru.po Translations: regenerated translations and updated Russian translation 2016-05-10 21:42:41 +00:00
syneditstrconst.uk.po Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #31614 2017-04-03 23:24:37 +00:00
syneditstrconst.zh_CN.po SynEdit: Clicks on overview gutter. Issue #30012 po files 2016-05-09 19:17:55 +00:00
synhighlighterunixshellscript.cs.po
synhighlighterunixshellscript.de.po
synhighlighterunixshellscript.es.po
synhighlighterunixshellscript.fr.po
synhighlighterunixshellscript.he.po
synhighlighterunixshellscript.hu.po Improve Finnish translation a little. 2016-05-14 12:38:48 +00:00
synhighlighterunixshellscript.id.po
synhighlighterunixshellscript.it.po
synhighlighterunixshellscript.lt.po
synhighlighterunixshellscript.po
synhighlighterunixshellscript.pt_BR.po
synhighlighterunixshellscript.ru.po
synhighlighterunixshellscript.uk.po Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #30250 2016-06-08 23:13:31 +00:00
synhighlighterunixshellscript.zh_CN.po
synmacrorecorder.cs.po
synmacrorecorder.de.po
synmacrorecorder.es.po
synmacrorecorder.fr.po
synmacrorecorder.he.po
synmacrorecorder.hu.po Regenerated translations 2016-06-08 21:59:41 +00:00
synmacrorecorder.id.po
synmacrorecorder.it.po
synmacrorecorder.lt.po
synmacrorecorder.pl.po
synmacrorecorder.po
synmacrorecorder.pt_BR.po
synmacrorecorder.ru.po
synmacrorecorder.uk.po Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #30250 2016-06-08 23:13:31 +00:00
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.