Translating Bongo
Lance Haig edited this page Dec 23, 2013
·
1 revision
Translating Bongo is easy. All that is required is a good understanding of both English and the language you wish to translate Bongo into. Just follow these easy steps:
You will need the ISO code for the language you will be translating into. For example, French is fr, German is de, Italian is it, Portuguese is pt, etc.
- Checkout from Subversion:
svn co http://svn.gna.org/svn/bongo/trunk/ bongo-trunk
- Configure Bongo. This will mean prerequisites will be required otherwise the configuration step will fail. One can find prerequisites on the Installation/Source page.
cd bongo-trunk/ ./autogen.sh
- Update the pot file:
cd po/ make update-po
- Create a new po file based on language you will be translating into. In this example I'll use German:
cp bongo.pot de.po
- Edit the header of your new file as shown below. My additions for German are shown in red:
"Project-Id-Version: <font color=red>de</font>\n" "Report-Msgid-Bugs-To: bongo-devel@gna.org\n" "POT-Creation-Date: 2006-08-28 16:33-0400\n" "PO-Revision-Date: <font color=red>2007-06-28 17:45+0100</font>\n" "Last-Translator: <font color=red>Hans Gerhard <translater@example.com></font>\n" "Language-Team: <font color=red>german</font>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=<font color=red>UTF-8</font>\n" "Content-Transfer-Encoding: 8bit\n" <font color=red>"Plural-Forms: nplurals=2; plural=(n != 1);\n"</font>
- You should add the last line about Plural-Forms if it is missing.
- The other lines are the messages to translate from English. An example is shown below with my additions in red:
msgid "Hello World!" msgstr "<font color=red>Hallo Welt!</font>"
- Save your changes and email the file as an attachment to bongo-devel@gna.org.
TODO
Language | Status |
---|---|
English | 100% |
Copyright © 2007 - 2014 Bongo Project, All rights reserved. Icons used on this website are from The Tango Project.