How to translate codelite into other languages

Discuss here codelite i18n support
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

How to translate codelite into other languages

Post by eranif »

This forum is dedicated to help making codelite locale aware, i.e. display its menus/messages etc using the user's locale.

Q: What translations are available?
A: None. The current effort was put in preparing the infrastructure for making this possible. It is up to YOU to provide the translation(s)

Q: Ok, I want to translate codelite into German, what do I need?
A: First, get the latest codelite SVN sources. Next, under codelite source tree, you will have this file:
translations/codelite.pot.
This file contains all the strings that should be translated.

Q: How, do I edit codelite.pot file?
A: The easiest way I know of is by opening the codelite.po file using this application:
http://www.poedit.net/download.php
The output will be codelite.mo.

Q: What should I do with the codelite.mo?
A: First, I encourage you to send it over to me (forum user name: eranif) so I will add it to the installation of codelite. You can ofc install it locally. Under windows you can simply copy it to: INSTALL_PATH/locale/<lang>/codelite.mo, for Linux you should copy it to the standard translation file locations (usually it is under /usr/share/locale/<lang>/LC_MESSAGES/codelite.mo)

Q: I did what you wrote, codelite is still loaded in English, anything else I should enable?
A: From the main menu, Settings | Global Editor Preferences | Misc, you should enable the 'Enable locale' option

Eran
Make sure you have read the HOW TO POST thread
fanhe0513
CodeLite Enthusiast
Posts: 39
Joined: Sat Aug 21, 2010 7:32 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: How to translate codelite into other languages

Post by fanhe0513 »

I'm going to translate codelite into Chinese, but I found poedit_1.4.2 did not have the jump to next message hotkey, it is terrible!
I do not know if there is the hotkey in the latest version.
I do want a good po editor...
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to translate codelite into other languages

Post by eranif »

fanhe0513 wrote:I do not know if there is the hotkey in the latest version.
Sorry, but this is the only tool I have used. But there are probably many others out there

Eran
Make sure you have read the HOW TO POST thread
fanhe0513
CodeLite Enthusiast
Posts: 39
Joined: Sat Aug 21, 2010 7:32 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: How to translate codelite into other languages

Post by fanhe0513 »

Finally, I use vim with po.vim plugin.
The translating work is not such simple, It will take some time.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to translate codelite into other languages

Post by eranif »

fanhe0513 wrote:It will take some time.
Yea, over 2800 strings to translate...

Eran
Make sure you have read the HOW TO POST thread
dengxf
CodeLite Curious
Posts: 5
Joined: Fri Jan 07, 2011 7:58 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: How to translate codelite into other languages

Post by dengxf »

I have post the first chinese translation.
could you release a new version with BUG (match whole word) fixed.
thanks.
Dmitry Shapkin
CodeLite Curious
Posts: 1
Joined: Wed Feb 15, 2012 10:24 am
Genuine User: Yes
IDE Question: c++
Contact:

Re: How to translate codelite into other languages

Post by Dmitry Shapkin »

Eran, I want to do for the Russian translation Codelite.
I would like first to know: it could be someone already involved in?
If not, then I am ready to start.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to translate codelite into other languages

Post by eranif »

Dmitry Shapkin wrote:I would like first to know: it could be someone already involved in?
I am not aware of anyone translating codelite into Russian

Eran
Make sure you have read the HOW TO POST thread
Jan
CodeLite Curious
Posts: 1
Joined: Tue Mar 27, 2012 3:03 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to translate codelite into other languages

Post by Jan »

Hi at all,

i would like to translate codelite into german if there's somebody still working on it, please let me know
so we can work together on it.


Jan
zShackra
CodeLite Curious
Posts: 3
Joined: Sat Apr 18, 2015 11:32 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to translate codelite into other languages

Post by zShackra »

Same as @Jan, I'm going to translate CodeLite into spanish, if somebody is doing the same, please contact me.
Post Reply