Where should I put a translation file into on OSX?

Discuss here codelite i18n support
loopFine
CodeLite Curious
Posts: 2
Joined: Tue Jun 02, 2015 5:42 am
Genuine User: Yes
IDE Question: C++
Contact:

Where should I put a translation file into on OSX?

Postby loopFine » Tue Jun 02, 2015 5:52 am

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.
DavidGH
CodeLite Plugin
Posts: 543
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Where should I put a translation file into on OSX?

Postby DavidGH » Tue Jun 02, 2015 4:41 pm

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
loopFine
CodeLite Curious
Posts: 2
Joined: Tue Jun 02, 2015 5:42 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Where should I put a translation file into on OSX?

Postby loopFine » Tue Jun 02, 2015 7:03 pm

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. :roll:

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.
User avatar
eranif
CodeLite Plugin
Posts: 5778
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Where should I put a translation file into on OSX?

Postby eranif » Thu Jun 04, 2015 3:06 pm

Hi,
I will test on OSX to see where is proper place for this

Eran
Make sure you have read the HOW TO POST thread
k-yaegashi
CodeLite Curious
Posts: 2
Joined: Fri Jun 05, 2015 9:55 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Where should I put a translation file into on OSX?

Postby k-yaegashi » Fri Jul 03, 2015 10:09 am

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.

Who is online

Users browsing this forum: No registered users and 2 guests