Translation Location

Asked by Tobias Bannert on 2013-04-08

Hi,

where is the location of the translation files on the loacal drive?
I would like to test the translation if it make sense.

Thanks for your work. I like your tool.

Question information

Language:
English Edit question
Status:
Solved
For:
Unity Tweak Tool Edit question
Assignee:
No assignee Edit question
Solved by:
J Phani Mahesh
Solved:
Last query:
Last reply:
Best J Phani Mahesh (phanimahesh) said : #1

/usr/share/locale/<lang>/LC_MESSAGES/unity-tweak-tool.mo

Is the location for translations into the language <lang>. We currently ship translations for language codes bg, de, fr, it, pt_BR, ru, sl, sr.

You will not need the location to be able to test translations, and in fact, they are bundled in a binary format hence the location will not help.

To test the tranalations, change your LC_MESSAGES environment variable to <lang> and start unity-tweak-tool.

eg: LC_MESSAGES=fr unity-tweak-tool

Tobias Bannert (toba) said : #2

Thanks J Phani Mahesh, that solved my question.

Tobias Bannert (toba) said : #3

Thanks for answer.

I think I better rename and move after downloading from launchpad, because I would like to test my own language translation.