Get the right locale for Evolution

27 Apr

An issue that has been bugging me for a while is that Evolution (3.10.4) somehow has the French locale even though most of my system is in British English (I use KXStudio 14.04, with the default KDE 4.13.3). Changing the locale and language preferences in the system settings wouldn’t help at all. That might have had to do with me playing around with settings and languages and software versions a lot, but there you go: I am not sure how I got there, but I found a solution.

This Linux Mint Forum thread put me on the right track. It seems there is a mismatch between the Evolution version that is installed and the base language pack in use (i.e. the Evolution version for which the strings in language-pack-en-base are written).

Here are the steps to get the extra file you need to change the language in evolution. (In my case, I wanted the en_GB locale, but you can replace it with whatever you want; you can also replace the version numbers with the corresponding Evolution version you have installed on your system.)


wget "https://download.gnome.org/sources/evolution/3.8/evolution-3.10.4.tar.xz"
tar -Jxvf evolution-3.10.4.tar.xz evolution-3.10.4/po/en_GB.po
msgfmt -cv -o ./evolution-3.10.mo ./evolution-3.10.4/po/en_GB.po
rm -rf evolution-3.10.4

This will extract and copy the right locale file into your /usr/share/locale-langpack/en/LC_MESSAGES/ folder. Close and open Evolution, and you should have the menus in the right locale. (Keep in mind that some email folders will still be in the original language if they were created that way in the first place!)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: