2014-11-12 12:39:22 -05:00
---
2015-04-10 16:17:45 -04:00
layout: doc
2015-10-13 23:31:03 -04:00
title: Language Localization
2015-10-28 18:14:40 -04:00
permalink: /doc/language-localization/
2015-10-11 03:04:59 -04:00
redirect_from:
2015-10-28 18:14:40 -04:00
- /en/doc/language-localization/
2015-10-11 03:04:59 -04:00
- /doc/LanguageLocalization/
- /wiki/LanguageLocalization/
2014-11-12 12:39:22 -05:00
---
2016-03-17 18:45:56 -04:00
Language Localization
=====================
2020-07-07 09:53:43 -04:00
Enable UTF-8 in dom0 title bars
-------------------------
2020-12-07 20:04:29 -05:00
You can enable UTF-8 characters in the title bar for all qubes or on a per-qube basis. Follow the instructions [here ](/doc/config-files/#gui-and-audio-configuration-in-dom0 ) for further information.
2020-07-07 09:53:43 -04:00
2016-03-17 18:45:56 -04:00
How to set up pinyin input in Qubes
-----------------------------------
2018-05-22 00:28:05 -04:00
The pinyin input method will be installed in a TemplateVM to make it available after restarts and across multiple AppVMs.
2016-03-17 18:45:56 -04:00
2018-05-22 00:28:05 -04:00
1. In a TemplateVM, install `ibus-pinyin` via the package manager or terminal.
If the template is Fedora-based, run `sudo dnf install ibus-pinyin` .
If the template is Debian-based, run `sudo apt install ibus-pinyin`
2016-03-17 18:45:56 -04:00
2018-05-22 00:28:05 -04:00
2. Shut down the TemplateVM.
2016-03-17 18:45:56 -04:00
2018-05-22 00:28:05 -04:00
3. Start or restart an AppVM based on the template in which you installed `ibus-pinyin` and open a terminal.
4. Run `ibus-setup` .
5. You will likely get an error message telling you to paste the following into your bashrc:
2016-03-17 18:45:56 -04:00
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
2017-03-05 10:26:40 -05:00
Copy the text into your `~/.bashrc` file with your favorite text editor.
2018-05-22 00:28:05 -04:00
You will need to do this for any AppVM in which you wish to use pinyin input.
2016-03-17 18:45:56 -04:00
2018-05-22 00:28:05 -04:00
6. Set up ibus input as you like using the graphical menu (add pinyin or intelligent pinyin to selections).
You can bring the menu back by issuing `ibus-setup` from a terminal.
2016-03-17 18:45:56 -04:00
2018-05-22 00:28:05 -04:00
7. Set up your shortcut for switching between inputs.
By default it is super-space.
2016-03-17 18:45:56 -04:00
2018-05-22 00:28:05 -04:00
If `ibus-pinyin` is not enabled when you restart one of these AppVMs, open a terminal and run `ibus-setup` to activate ibus again.
2016-03-17 18:45:56 -04:00
2017-03-05 10:26:40 -05:00
For further discussion, see [this qubes-users thread ](https://groups.google.com/forum/#!searchin/qubes-users/languge/qubes-users/VcNPlhdgVQM/iF9PqSzayacJ ).