Freeciv
Advertisement

Interface Language | Translations | Localization | Internationalization | edit navbar


Freeciv's default interface language is English but it has also been localised (i.e. translated) for a number of languages. As of 2.5.1, the following translations exist (bold shows translations that are complete for core messages). There are also Wikis in some of these languages or dedicated project/support pages on external sites in some cases.

  1. Arabic (ar) : العربية
  2. Brazilian Portuguese (pt_BR) : Português
  3. Bulgarian (bg)
  4. Catalan (ca) : Català
  5. Chinese (simplified, zh_CN)
  6. Chinese (traditional, zh_TW)
  7. Czech (cs) : Česky
  8. Danish (da) : Dansk
  9. Dutch (nl) : Nederlands
  10. English (British; en_GB)
  11. Esperanto (eo) : Esperanto
  12. Estonian (et)
  13. Farsi (fa)
  14. Finnish (fi) : Suomi
  15. French (fr) : Français
  16. German (de) : Deutsch
  17. Greek (el)
  18. Hebrew (he)
  19. Hungarian (hu) : Magyar
  20. Indonesian (id) : indonesia
  21. Irish (ga)
  22. Italian (it) : Italiano
  23. Japanese (ja) : 日本語
  24. Korean (ko) : 한국어
  25. Lithuanian (lt)
  26. Norwegian (Bokmål; nb/no) : Norsk
  27. Polish (pl) : Polski
  28. Portuguese (pt) : Português
  29. Romanian (ro) : Română
  30. Russian (ru) : Русский
  31. Scots Gaelic (gd): Fòram na Gàidhlig
  32. Serbian (sr) : српски
  33. Swedish (sv) : Svenska
  34. Spanish (es) : Español
  35. Turkish (tr) : Türkçe
  36. Ukrainian (uk)

Freeciv's localisation relies on volunteers. See Translations for how to help out (including adding new languages).

Changing the interface language[]

Windows[]

In version 2.3.1 and later, when you run the installer, you'll be given the opportunity to choose a different language during the installation process. Just make sure you put a tick against the code of your language (see the list above).

A couple of other ways to do this are shown below. (You might need these if you're running an older version, or if you want to change the language after installation.)

Changing the Target path[]

This is probably the easiest way for most users. Note you may need Admin rights on your computer to use this option.

  1. Click Start
  2. Navigate to where the Freeciv installation is, usually Start > Program Files > Freeciv 2.3.0 (GTK+ client) > Freeciv. Right click on Freeciv (next to the globe).
  3. Left-click Properties. Under the Shortcut tab, you can see the path of the file. By default, this points to auto, which checks the language of your operating system.
  4. Change auto to gd (if you want Scots Gaelic for example) and click OK.
  5. Start the program normally from Program Files, the interface is now in the language you selected.

Using the command prompt[]

This is slightly more complicated but should work even if you don't have admin rights on your computer.

  1. Click Start
  2. Enter cmd
  3. Change to the directory in which you installed Freeciv. Usually this involves the cd .. command to get to the top level, followed by cd Program Files and cd Freeciv-2.3.0-gtk (if you installed it in the default installation directory). Note you can use the Tab Key to autocomplete a line, for example by typing cd free and the hitting the Tab Key.
  4. To start the game in Scots Gaelic (gd), enter .\freeciv-gtk2.cmd gd

To avoid having to do that, you can create a .bat file. Open a text editor like Notepad and copy and paste the following code:

C:
cd\
cd Program Files (x86)
cd Program Files
cd Freeciv-2.3.0-gtk2
.\freeciv-gtk2.cmd gd

Then save it as freeciv.bat Now all you have to do is double-click the file and it will start in your chose language. Note that the above code gd stands for Scots Gaelic. To start it in a different language, pick the right code out of the list above and replace the gd with it.

Also note that if you installed it somewhere else (for example Documents and Settings/UserName/Application Data/My Documents/Freeciv-2.3.0-gtk2), then you have to change the cd path accordingly.

Mac OSX[]

Assuming that the game is running on your system (for installation on Mac OSX see this page), the following should work to play a certain language. Note that depending on the availability of certain components of X11 in your desired language, some buttons may appear in English.

  1. Open Terminal
  2. Launch the Freeciv client with LANG=gd LANGUAGE=gd freeciv-gtk2

To launch the Freeciv server:

  1. Open Terminal
  2. Launch the Freeciv server with LANG=gd LANGUAGE=gd freeciv-server
  3. Connect to server with client

Linux[]

Under Linux, Freeciv should automatically use the same language as the rest of the system. For instance, if you have configured your Linux installation to use Chinese as its language, Freeciv should use its Chinese localisation.

For instance, under Ubuntu, you can install new languages and select which one the system will use under System > Administration > Language Support (in Ubuntu 10.04 at least).

If your Linux distribution does not currently have a localisation for your language, it may not be possible to use Freeciv's localisation for that language, even if it has one. However, you could try something like the following, if you want to play it in French for example:

 LANG=fr_FR.utf-8 LANGUAGE=fr freeciv-gtk3.22

Note that you must install the program for the localization to work. The fcgui/fcser scripts of the source directory will use the installed localization, not the localization of the source directory.

Advertisement