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.
Where should I put a translation file into on OSX?
-
- CodeLite Curious
- Posts: 2
- Joined: Tue Jun 02, 2015 5:42 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: Where should I put a translation file into on OSX?
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
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
-
- 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?
Thanks DavidGH.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
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.
- eranif
- CodeLite Plugin
- Posts: 6375
- 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?
Hi,
I will test on OSX to see where is proper place for this
Eran
I will test on OSX to see where is proper place for this
Eran
Make sure you have read the HOW TO POST thread
-
- 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?
Hi,
I have tried translating codelite into my language with OS X, and I found placing .mo into:
works well.
In French, perhaps the following place is correct:
and so on.
Try it.
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
In French, perhaps the following place is correct:
Code: Select all
/Applications/codelite.app/Contents/Resources/fr_FR.lproj/codelite.mo
Try it.