translation tool

Translating Risk into your language

Download Risk 1.0.9.0 or higher, Start the SwingGUI, and go to the Translation Tab, Press the "Load" button.

Then all you need to do is open the Risk.properties file, the select your language from the language option menu.
and edit the messages in the bottom of the windows for your language.
then when you are done, send me the file called Risk_xx.properties (where xx is your language).
To translate maps and cards open DefaultMaps.properties and DefaultCards.properties.
the Risk.properties, DefaultMaps.properties and DefaultCards.properties can be downloaded from here.

Languages I have: Swedish, English, German, French, Spanish, Russian, Dutch, Italian, Chinese, Catalan, Finnish, Serbian, Portuguese, Portuguese (Portugal), Galician, Polish, Ukrainian, Czech, Slovak, Latvian, Greek, Danish and Turkish.
Languages in progress: none that i know of.
Languages I need: anything thats not on the list above.

If you're done with it, please send it to us, so that we can integrate it into the normal Risk releases! (yura@yura.net)


translation files

Manual way of editing the properties files

As Risk comes by default in English language only, it may be hard to understand by non-english speaking people.

However, it's an open source project and you are very welcome to translate it into your mother tongue - or any other language you speak (or write) well. This helps non-english people to have a better game experience and thus a better time playing Risk.

Translation is very easy: You just have to translate a simple text file of the following form:

...
mainmenu.newgame=New Game
mainmenu.startserver=Start Server
...

the translated german version would look like

...
mainmenu.newgame=Neues Spiel
mainmenu.startserver=Server starten
...

Easy, isn't it?

To translate Risk into your language, just get the sources and make a copy of the file translation/Risk.properties and rename it to Risk_<language code>.properties (Replace <language code> with the 2-digit code of your language, e.g. "en" for english, "de" for german or "fr" for french).

Now just open the new Risk_xx.properties file in your favorite text editor and translate the strings in there.

Additional to the Risk.properties there is a file called DefaultMaps.properties which contains the translation of continent and country names, which can be translated as well.

Translating maps

Standard maps (whole world) are translated via the DefaultMaps.properties file. It it possible to translate single maps without using the DefaultMaps file.

Just create a new file in the maps/ folder, called <map name>_<language code>.properties. For example, the german translation file for the simple.map map file would be called simple_de.properties.

     

News
Screen Shots
Change Log
FAQ
Chat/Discord

Support:

Become a Patron!

Play:

MacWindowsLinuxDownload

Download on the AppStore

Android App on Amazon AppStore

Android App on Huawei AppGallery

Android App on Google Play

Windows Subsystem For Android

Launches Flash GUI Domination

Share:

Develop:

Make Maps
Example Maps
Make Translation
Make AI

Bug Tracker (todo)
Discussion
Mailinglist (lobby)

Links:

Domination Project Page on SourceForge

Lobby Web Site on SourceForge

Lobby Project Page on SourceForge

SourceForge.net Logo

copyright 2003-2024 yura.net