Forums

Can I change system locale?

to run non-unicode program.

Auteur Réponses
ilakya Jeudi 25 September 2008 à 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 Vendredi 26 September 2008 à 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 Vendredi 26 September 2008 à 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 Samedi 31 Juillet 2021 à 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 Samedi 22 Janvier 2022 à 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.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com