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 ur language from the language option menu.
and edit the messages in the bottom of the windows for ur language.
then when you are done, send me the file called Risk_xx.properties (where xx is your language).
the Risk.properties is located inside the game jar file, use a app like winrar to extract it.
To translate maps and cards open DefaultMaps.properties and DefaultCards.properties.

Languages I have: Swedish, English, German, French, Spanish, Russian, Dutch, Italian, Chinese, Catalan, Finnish, Serbian, Portuguese, Galician 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.

     

Change Log

News
Screen Shots
Download
Extra Maps
FAQ

FlashGUI Web Start
Launches Flash GUI Risk

SwingGUI Web Start
Launches Swing GUI Risk


Flash Applet
Swing Applet

Make Maps
Make Translation
Make AI

Risk Project Page on SourceForge

Risk Project Page on Freshmeat

Support This Project
If you like this game and would want me to spend more time on it, please donate, anything would be appreciated!

SourceForge.net Logo

Risk is NOT endorsed by or affiliated with Hasbro Risk