some documentation updates
[wmaker-crm.git] / FAQ.I18N
blob2eb438cdf79ef8f50d37aa5bec419eface5674eb
2 If I18N support does not work for you, check these:
4         - the LANG environment variable is set to your locale, and 
5           the locale is supported by your OS's locale or X's locale
6           emulation. you can display all supported locales by 
7           executing "locale -a" command if it available. and you
8           can check if your locale is supported by X's locale emulation.
9           See "/usr/X11R6/lib/X11/locale/locale.alias"
11         - Check if you're using appropriate fonts for the locale you
12           chose. If you're using a font set that has a different 
13           encoding than the one used by Xlib or libc, bad things can
14           happen. Try specifically putting the encoding in the LANG 
15           variable, like ru_RU.KOI8-R. Again, see
16           "/usr/X11R6/lib/X11/locale/locale.alias"
18         - if your OS doesn't support any locale or if your OS doesn't 
19           support a locale for your language, you can use X Window System's
20           locale emulation feature instead of OS's locale. To use this
21           feature, add this option to the configure, "--with-x-locale".
22           if your OS is commercial one, such as Solaris,IRIX,AIX,...,
23           you perhaps don't have to use X's locale emulation.
24           But if your OS is Linux or NetBSD or .. , it's possible
25           your locale is not supported so far. then use "--with-x-locale".
27           Note: to use X's locale emulation, your Xlib has to be
28                 compiled so that the locale emulation is enabled.
29                 Linux RedHat5.0's default Xlib is not compiled 
30                 like that. (RH4.x are ok). Recompiled Xlib for
31                 RH5.0 where you can use locale emulation is available
32                 here:
33                 ftp://ftp.linux.or.jp/pub/RPM/glibc
35         - if you'd like to display multibyte characters, set the
36           MultiByteText option to YES in ~/GNUstep/Defaults/WindowMaker
37           and ~/GNUstep/Defaults/WMGLOBAL
39         - the fonts you're using support your locale. if your font
40           setting on $HOME/GNUstep/Defaults/WindowMaker is like..
42           WindowTitleFont = "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*";
43           MenuTitleFont = "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*";
44           ......................................................
46           then you can't display non iso8859-x charcters by helvetica. 
47           so quick way to display various languages' font is to change
48           all the font settings into:
49           
50                 "-*-*-medium-r-normal-*-14-*-*-*-*-*-*-*"
52           and also you need to change font settings in style files in
53           the "$HOME/Library/WindowMaker/Style" directory.
55         - the LC_CTYPE environment variable is unset or it has the correct
56           value. If you don't know what is the correct value, unset it.