Hi,
Looking at http://bugs.winehq.org/show_bug.cgi?id=18125, it has winecfg from wine 1.1.19 running in Spanish. The screenshot shows that the static text is wrapped over 4 lines, but the text is clipped (should be 8x4 dlus high). This is not the issue reported there, but I would like to fix it and improve the layout.
So, how do I change locale? Especially from a just-built version of Wine.
I have tried: LANG=es ./wine winecfg LANG=es.UTF-8 ./wine winecfg LC_ALL=es ./wine winecfg LC_ALL=es.UTF-8 ./wine winecfg and export LANG=es && ./wine winecfg variants.
I have also tried changing the system regional and language settings. None of these have worked. It's not on the FAQ either.
I am using Kubuntu 9.04.
Thanks, - Reece
2009/4/21 Reece Dunn msclrhd@googlemail.com:
So, how do I change locale? Especially from a just-built version of Wine.
You have to make sure that the locale you are trying to use is there in your system (see locale -a). My corrent lcale is ru_RU.UTF-8 and wine runs correspondingly. When I run
LC_ALL=C wine regedit LANG=C wine regedit LANG=C wine winecfg LANG=C winecfg
It all works: wine starts displaying all dialogs in english. This works well with precompiled binaries also.
2009/4/21 Michael Stefaniuc mstefani@redhat.com:
Thanks everyone for the hints. I'll try these when I get back to my development machine.
- Reece
2009/4/21 Reece Dunn msclrhd@googlemail.com:
That works. I have started a page on the wiki (http://wiki.winehq.org/TestingLanguages) to document how to launch Wine in the different languages. It's not complete yet.
Thanks for the help, - Reece
On Di, 2009-04-21 at 21:06 +0100, Reece Dunn wrote:
LANG=es_ES.UTF-8 ./wine winecfg works for me. The language code is "es_ES" and not just "es".
I did the attached script a while ago for dialog testing before Wine-1.0, but it works also for the programs. The given command is run in every translated language on seperate virtual Desktops.
Examples: WINETEST_INTERACTIVE=1 winetest_rc dlls/localui/tests/localui_test.exe.so
winetest_rc programs/winecfg/winecfg.exe.so
On Tue, Apr 21, 2009 at 08:26:53AM +0100, Reece Dunn wrote:
Hi,
So, how do I change locale? Especially from a just-built version of Wine.
For me, LC_CTYPE=ja_JP.utf8 switches Wine to operate with Japanese codepage for font rendering and selection.
See dlls/kernel32/locale.c for general POSIX locale to codepage mapping, and gdi32/freetype.c for nls_update_font_list which maps code pages to fonts for the Windows UI fonts which vary between countries.