Translating STK

This article will explain how to translate STK into another language.

Contents

Installing poEdit

Note : you may use other tools but the procedure for them is not documented here

The directory where you need to go is /data/po. There you will see a file named supertuxkart.pot and a script called update_pot.sh. The .pot file contains all translatable strings of STK. The update_pot.sh script can be run from the base directory to update the .pot file, but you generally do not need to do that since the STK developers will do it for you.

Configuring poEdit

Image:Poedit_prefs.png

Image:Poedit_comments.png

Creating a new translation

Image:Poedit1.png

Image:Poedit2.png

Image:Poedit3.png

Testing your translation

your translation should be automatically picked if your system is set to the language you made the translation for. If your system is in english or another language, you can force a language from terminal

Updating an existing translation

Image:Poedit_update.png

Image:Poedit2.png

Retrieved from "http://supertuxkart.sourceforge.net/Translating_STK"

User Tools