218
edits
Note: Currently new registrations are closed, if you want an account Contact us
(info about po file editors) |
(More details about the po file format added) |
||
Line 1: | Line 1: | ||
==Some Basics== | |||
A [http://www.gnu.org/software/gettext/manual/html_node/gettext_9.html#SEC9 .po file] is a plain text file. | |||
if you are not familiar with the PO format, gettext documentation is worth reading, especially sections dedicated to this format, e.g. by running: | |||
info -n '(gettext)PO Files' | |||
info -n '(gettext)Header Entry' | |||
Note down the string that you wish to translate, translate it and then replace it as shown in the example below. For example | |||
Before | |||
<pre> | |||
#. Type: text | |||
#. Description | |||
#: ../main-menu.templates:3 | |||
msgid "Debian installer main menu" | |||
msgstr "" | |||
</pre> | |||
After | |||
<pre> | |||
#. Type: text | |||
#. Description | |||
#: ../main-menu.templates:3 | |||
msgid "Debian installer main menu" | |||
msgstr "" | |||
</pre> | |||
==More Info== | |||
* [http://www.gnu.org/software/gettext/manual/html_node/gettext_9.html#SEC9 .po file format] | |||
* [http://d-i.alioth.debian.org/i18n-doc/apf.html More about gettext (po) file editors] | * [http://d-i.alioth.debian.org/i18n-doc/apf.html More about gettext (po) file editors] |