Install Translations

From Seven Kingdoms
Jump to: navigation, search

Pre installed 7kaa

To enable translated text without recompiling, install gettext-tools.

Create the binary MO file:

$ msgfmt -c --statistics --verbose -o 7kaa.mo LANUGUAGE (de.po, es.po, fr.po, or ru.po).

Copy "7kaa.mo" to "/usr/share/locale/LANGUAGE/LC_MESSAGES"

For example,

  1. /usr/local/share/locale/fr/LC_MESSAGES/7kaa.mo for French.
  2. /usr/local/share/locale/es/LC_MESSAGES/7kaa.mo for Spanish.
  3. /usr/local/share/locale/de/LC_MESSAGES/7kaa.mo for German.
  4. /usr/local/share/locale/ru/LC_MESSAGES/7kaa.mo for Russian.

Run the game with the desired locale:

LC_ALL='LOCALE' 7kaa 

For example,

LC_ALL='fr_FR' 7kaa 

for a french locale.

Notes

See https://www.7kfans.com/wiki/index.php/How_to_Install_Locales for help generating needed locales.