Difference between revisions of "Internationalization"
(→QT immodule (> QT 4.0.0))
(Template:i18n is deprecated, use intelanguage links, see Help talk:I18n#"Dummy" interlanguage links and deprecation of Template:i18n)
|Line 1:||Line 1:|
Revision as of 09:18, 13 June 2012
This is the main article on the internationalisation in Arch Linux. It should offer an explaination on how to work with any supported language in Arch Linux.
For the list of available font packages in Arch Linux see the Fonts article.
Outside X server
Inside X server
X input method
Disabling GTK IM modules (without uninstalling)
First some background information on how GTK loads and selects IM modules:
- Specifying an IM module
- GTK_IM_MODULE environment variable
- GTK_IM_MODULE="scim" gedit
- XSETTINGS value of Gtk/IMModule
- File listing possible IM modules
- GTK_IM_MODULE_FILE environment variable
- RC files
If no IM module is specified (either via GTK_IM_MODULE or in XSETTINGS), then GTK will automatically choose a suitable immodule from an internal listing (GTK_IM_MODULE_FILE... etc). This chosen IM module will depend on the software installed, and will be picked in a completely arbirtrary order.
For a listing of installed GTK+ immodules, see
XSETTINGS provides a common API to configure common desktop settings. Similar database configuration systems such as gnome-config, GConf, liproplist and the kde configuration system already exist, however XSETTINGS unifies these systems. XSETTINGS daemons, such as gnome-settings-daemon from gnome, xfce-mcs-manager from xfce4, and other from openbox, etc, push desktop-environment-specific data to the XSETTINGS database. Technically, XSETTINGS is a simple storage medium intended to store only strings, integers and colors. When an XSETTINGS manager quits, the clients restore all settings to their default values.
The if GTK+ has debugging enabled, the loaded modules can be seen by
application --gtk-debug modules
Otherwise, the modules can be seen by scanning the linked libraries in gdb after attaching to the process.
To prevent GTK+ from loading any IM modules
- set GTK_IM_MODULE to the empty string
- set GTK_IM_MODULE to "gtk-im-context-simple"
QT immodule (> QT 4.0.0)
Disabling QT IM modules (without uninstalling)
QT will load the IM module specified in QT_IM_MODULE, and if unset attempt to fall back on XIM.
- QT_IM_MODULE environment variable
To disable input method module loading in QT, export QT_IM_MODULE="simple".