Page 1 of 1
Where should I put a translation file into on OSX?
Posted: Tue Jun 02, 2015 5:52 am
by loopFine
Hi all.
I got a translation file (.mo), but couldn't find a way to place this file on OSX.
What should I do?
Thanks in advance.
Re: Where should I put a translation file into on OSX?
Posted: Tue Jun 02, 2015 4:41 pm
by DavidGH
Hi,
On Linux you'd install it into the appropriate /usr/share/locale subdir e.g. for French to /usr/share/locale/fr_FR/LC_MESSAGES/
Googling didn't find anything that said it should be different for OSX, and a couple of items suggested it should be the same. However if an actual OSX user says differently, believe him not me
.
Regards,
David
Re: Where should I put a translation file into on OSX?
Posted: Tue Jun 02, 2015 7:03 pm
by loopFine
DavidGH wrote:Hi,
On Linux you'd install it into the appropriate /usr/share/locale subdir e.g. for French to /usr/share/locale/fr_FR/LC_MESSAGES/
Googling didn't find anything that said it should be different for OSX, and a couple of items suggested it should be the same. However if an actual OSX user says differently, believe him not me
.
Regards,
David
Thanks DavidGH.
I've tried all the ways I could think of on MAC OSX covering all paths of '/usr/share/locale/xx_XX.xxxx/LC_MESSAGES/', and chmod 644/755/777 the .mo, again and again, but no luck. My pretty Codelite still displays English UI happily just like mocks all my endeavor and struggles.
However, I could succeeded using the .mo on Linux (Ubuntu 14.04.02 LTS) and Windows (7). It just showed what I wanted.
Maybe I've got a bad day... I don't know whether I should continue doing this useless attempt or not.
Re: Where should I put a translation file into on OSX?
Posted: Thu Jun 04, 2015 3:06 pm
by eranif
Hi,
I will test on OSX to see where is proper place for this
Eran
Re: Where should I put a translation file into on OSX?
Posted: Fri Jul 03, 2015 10:09 am
by k-yaegashi
Hi,
I have tried translating codelite into my language with OS X, and I found placing .mo into:
Code: Select all
/Applications/codelite.app/Contents/Resources/ja_JP.lproj/codelite.mo
works well.
In French, perhaps the following place is correct:
Code: Select all
/Applications/codelite.app/Contents/Resources/fr_FR.lproj/codelite.mo
and so on.
Try it.