2018/06/02

Improving Language Support in Kubuntu 18.04

After a few days of use Kubuntu 18.04 seems quite solid and smooth for my use as a main OS, even on a very limited Intel Celeron CPU N3050  @ 1.60GHz with 4 gigs of memory.

The biggest issue so far with kubuntu is it suboptimal language support, at least compared to regular Ubuntu. Luckily, it's very easy to add full Ubuntu-like support for non English languages by doing a small gnome-detour.

In a Konsole, run the following commands:
$ sudo apt install language-selector-gnome
$ gnome-language-selector
With the gnome-language-selector you can now configure the additional languages you wish to use.

If you don't like the additional gnome dependencies, you can uninstall the gnome-language-selector package afterwards. Kubuntu has also a command line alternative, but I didn't test it by myself:
sudo apt install $(check-language-support)
One last issue I had is that the Konsole (actually Bash) language was somehow set to French. Apparently, Bash is confused when the LANGUAGE environment variable has multiple elements. Start the KDE "Language" application and make sure you have only one "Preferred Language" set.

In the terminal you can check if LANGUAGE has only a single language:
$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

reference: https://askubuntu.com/questions/769609/how-to-install-additional-languages-in-kubuntu-16-04-lts

No comments:

Post a Comment