Howto install a translation

Asked by Mandarine

Hello,

can somebody please tell me how to install a translation / change the language in gwibber? I managed to download the .po file but don't know where to put it ...

Sascha

Question information

Language:
English Edit question
Status:
Answered
For:
Gwibber Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Colin Dean (colindean) said :
#1

Unfortunately, it's not quite so straightforward.

A .po file is similar to a source code file. It has to be compiled into a .mo file, which is kinda like a database for translation for a certain language.

I'd recommend waiting until the next release of Gwibber, or at least the next merge of languages if you're running a daily build.

If you really need it, you might be able to manually compile and install the .mo file. For this example, we'll use xx as the language code. Anywhere you see xx, substitute the actual language code.

You already downloaded xx.po. Use the command "msgfmt -o gwibber.mo xx.po". Next, execute "sudo mkdir -p /usr/share/locale/xx/LC_MESSAGES/". Next, execute "mv gwibber.mo /usr/share/locale/xx/LC_MESSAGES/".

Close gwibber and reopen it. Theoretically, if your locale is set to your chosen language, you'll automatically see gwibber translated. Gwibber simply detects your locale from your environment and uses it.

Can you help with this problem?

Provide an answer of your own, or ask Mandarine for more information if necessary.

To post a message you must log in.