The forum

[Issue] Japanese Locale

A game requires the PC to be set to Japanese locale. Can I achieve this using PlayOnMac?

Author Replies
TestNamePlus Friday 15 August 2014 at 22:23

I have a simple problem. I'm trying to play a game that requiers the computer to be set to a Japanese locale. It requires this, because you have to input the character name in Japanese (or you can simply confirm the default name, as long as your computer is set to Japanese locale.)


Changing the locale seems simple enough on a real PC, but how can I do this using PlayOnMac?


I'm using Wine version 1.4.1, if that helps.


Thanks in advance for any answers.

damned damien Saturday 22 January 2022 at 17:49
damned damienAnonymous

Hi there,

It took me a little while to figure it out.


In fact, it has nothing to do with Windows... the locale settings are directly applied within the application (so, at the MacOS level). gets the locale settings automatically from the MacOS language used. You can see how by checking into the packet content of that application. To do so, you need to browse to and edit the playonmac script there.

On the version 4.4.3, the locale part in that script is :

export RLANG="$CurrentLocale"
export LANG="$RLANG.UTF-8"
export LC_ALL="$LANG"

Now... I understand though that it may be hard to switch the OS language to simply play to a specially localized game cheeky.


I have used the following solution/workaround to set the locale I wanted :

1- Duplicate the (and rename it to identify that it will be used for games using japanese locales).

2- Go and edit the playonmac script (using any editor like Textedit, vi...). Change the locale part (mentioned above) with the following :

export RLANG="$CurrentLocale"
export LANG="ja_JP.UTF-8"
export LC_ALL="$LANG"

Save the change.

3- You can launch that modified version of to run your favorite japanese's windows applications. As a plus, you may even specifically name the application shortcuts within playonmac for the applications/games that require the japanese locales.


Last rermark : this workaround can be used for any other locales (if you were looking of thinking else than japanese). You can check in a terminal all the available locales on your mac by using the following command :

locale -a