Previous: , Up: Top   [Contents]


10 Translating

Type ‘msginit -i imyplay.pot -o XX.po’, substituting your 2-letter language code for XX (e.g. pl or de). This requires the gettext package installed. You can manually copy the file imyplay.pot to XX.po and manually add the following header, if you wish.
In the resulting XX.po file you have to fill in all the fields marked with capital letters in the header:

# YOUR LANGUAGE translations for IMYplay package.
# Copyright (C) 2009-2023 Bogdan 'bogdro' Drozdowski
# This file is distributed under the same license as
# the IMYplay package.
# YOUR FULL NAME <EMAILADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: IMYplay VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-03-23 18:41+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAILADDRESS>\n"
"Language-Team: LANGUAGE <EMAILADDRESS>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

The rest of the file will contain messages from the program. Translate them all and send me the resulting XX.po file.

Translating the documentation: