How to translate codelite into other languages
Posted: Mon Dec 20, 2010 5:30 pm
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
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