Remove dup code in wAppIconCreateForDock
[wmaker-crm.git] / FAQ.I18N
blob85dd7cdb9d34a7cb7311316e6158863974cc32a3
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         - the fonts you're using support your locale. if your font
36           setting on $HOME/GNUstep/Defaults/WindowMaker is like..
38           WindowTitleFont = "Trebuchet MS:bold:pixelsize=12";
39           MenuTitleFont   = "Trebuchet MS:bold:pixelsize=12";
40           ......................................................
42           then you can't display asian language (ja,ko,ch) characters using
43           Trebuchet MS. A font that is guaranteed to work for any language is
44           sans (or sans-serif). sans is not a font itself, but an alias which
45           points to multiple fonts and will load the first in that list that
46           has the ability to show glyphs in your language. If you don't know
47           a font that is suited for you language you can always set all your
48           fonts to something like:
50                 "sans:pixelsize=12"
52           However, please note that if your font is something like:
54                 "Trebuchet MS,sans serif:pixelsize=12"
56           this will not be able to display asian languages if any of the
57           previous fonts before sans are installed. This is because unlike
58           the proper font pickup that sans guarantees for your language,
59           this construct only allows a font fallback mechanism, which tries
60           all the fonts in the list in order, until it finds one that is
61           available, even if it doesn't support your language.
63           Also you need to change font settings in style files in
64           the "$HOME/Library/WindowMaker/Style" directory.
66         - the LC_CTYPE environment variable is unset or it has the correct
67           value. If you don't know what is the correct value, unset it.