El Foro

Can I change system locale?

to run non-unicode program.

Autor Respuestas
ilakya Thursday 25 September 2008 at 6:11
ilakyaAnonymous

Is it possible to change system locale of program that running on PlayOnLinux ?, How to?

I'm trying to run JAP game and a lot of there soft need to be run by there locale.

On windows ,I use Microsoft Applocale to make a shortcut to these non-unicode program. But Applocale's setup is .msi file so I can't try to install it on Wine or PlayOnLinux.

Anyone got any idea? I'm very thanks full for your help.
Kjella Friday 26 September 2008 at 17:05
KjellaAnonymous

From what I can tell, yes and no. First, in order to select a locale it must exist, and the japanese locale will typically not. This can be solved through the command:

sudo locale-gen ja_JP.EUC-JP

which needs to be run once on the machine. FYI, official POL scripts can't contain sudos. You can parse the output of the locale command to check if it's already done though.

Next, you need to launch wine with the LANG attribute set, like:
LANG=ja_JP.EUC-JP wine [file]

This will work in the install script, but the launcher created by POL must also set the LANG variable which I do not think is currently supported, least there's no place for it in the POL_SetupWindow_make_shortcut command that I can find. Any devs want to comment on that?
ilakya Friday 26 September 2008 at 19:51
ilakyaAnonymous

Thank for repy. Now I see that's another problem.

I'm looking forward to any one who know how to reply.
until then ,I'll look for the way to make a shortcut of these by myself
tsuhna Saturday 31 July 2021 at 10:45
tsuhnaAnonymous

I have the same problem and am not sure how exactly to do this, I tried installing applocale in the playonlinux GUI and it did install it,now how do I get my game to use it?

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

Hi there,

I don't know the solution on linux... however, I have posted a solution/workaround working with playonmac application. Maybe it could help you with the linux version :

https://www.playonmac.com/en/topic-12296.html

 

Cheers.