Language Support

Kojo supports the following languages:

  • English
  • Swedish

After you install Kojo, it runs with the Default language setting. Under this setting, Kojo picks up the language to use from the underlying OS. So, for example, on an English version of Windows, you will see the UI in English. On a Swedish version of Windows, you will see the UI in Swedish.

You can change this setting by modifying the kojo.conf file located at $kojo-install-dir/etc/. This file has a default_options line which looks like this:

default_options="—branding kojo -J-client -J-Xms32m -J-Xmx512m -J-Xss1m -J-XX:PermSize=32m -J-XX:MaxPermSize=256m -J-Dapple.laf.useScreenMenuBar=true -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled -J-Duser.defLanguage=true"

Notice the -J-Duser.defLanguage=true at the end? That's what tells Kojo to use the Default language setting. To explictly specify the language to use, you need to change this to: -J-Duser.language=lang-code, where lang-code is:

  • sv for Swedish
  • en for English.

After this change, the above line looks something like this:

default_options="—branding kojo -J-client -J-Xms32m -J-Xmx512m -J-Xss1m -J-XX:PermSize=32m -J-XX:MaxPermSize=256m -J-Dapple.laf.useScreenMenuBar=true -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled -J-Duser.language=sv"

To pick up this change in the conf file, Kojo has to be restarted.

The good news is that you don't have to make this change to the conf file manually. Kojo has a Language menu that helps you with this.
Unless you are on Windows! On Windows, if Kojo is installed under C:\Program Files, and you are running as a non administrative user (which you should be, for security reasons), then Kojo is unable to modify the conf file for you because it does not have the permissions to do so. To get around this problem, you need to:

  • Run Kojo as an administrator (on the occasion when you want to make a change to the Language setting). You do this by right-clicking on the Kojo icon, and then clicking Run As Administrator.
  • Or just install Kojo under your home directory (and not under C:\Program Files). Then you will not need any special permissions to modify the conf file.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License