Translation Location

Asked by Tobias Bannert

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:
Revision history for this message
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

Revision history for this message
Tobias Bannert (toba) said :
#2

Thanks J Phani Mahesh, that solved my question.

Revision history for this message
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.