Note: Currently new registrations are closed, if you want an account Contact us

Po file editing

From FSCI Wiki
Revision as of 17:10, 7 December 2006 by Pravs (talk | contribs) (More details about the po file format added)

Some Basics

A .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

#. Type: text
#. Description
#: ../main-menu.templates:3
msgid "Debian installer main menu"
msgstr ""

After

#. Type: text
#. Description
#: ../main-menu.templates:3
msgid "Debian installer main menu"
msgstr ""

More Info