Changing the language that wine runs in (testing language versions of dialogs)

Paul TBBle Hampson Paul.Hampson at Pobox.com
Tue Apr 21 03:53:41 CDT 2009


On Tue, Apr 21, 2009 at 08:26:53AM +0100, Reece Dunn wrote:
> 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.

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.

-- 
-----------------------------------------------------------
Paul "TBBle" Hampson, B.Sc, LPI, MCSE
Very-later-year Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
Paul.Hampson at Pobox.com

Of course Pacman didn't influence us as kids. If it did,
we'd be running around in darkened rooms, popping pills and
listening to repetitive music.
 -- Kristian Wilson, Nintendo, Inc, 1989

License: http://creativecommons.org/licenses/by/2.5/au/
-----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20090421/515719ef/attachment.pgp>


More information about the wine-devel mailing list