Вы находитесь здесь

Форум

Can I change system locale?

to run non-unicode program.

Автор Replies
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
Вы находитесь здесь: Index > PlayOnLinux > Can I change system locale?