Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B

Code::Blocks' translation

<< < (46/56) > >>

gd_on:
As usual, updates to the .pot file extracted from svn 11736 are here.
Translation in French, also updated from svn 11736 in the .po and .mo file is here.
These files may be used with C::B 17.12.

See previous posts for other informations.

gd_on

gd_on:
Hi,
I have opened a new launchpad page to share C::B translations : https://launchpad.net/codeblocks-gd.

* The old page (https://launchpad.net/codeblocks) has not been maintained for several years (it had 2173 chains).
* The new page has more than 9300 chains !The specific translation page is https://translations.launchpad.net/codeblocks-gd : choose "View All languages", at the bottom, right.
I have imported in that page the translations found on the old web page for the most used languages (currently 14 languages). On request, I can add new languages (but translators will have a little bit more work !). Sorry for that, but original translators names have been lost in many cases  :-[.

Of course, French language has the most translated strings. It has been updated for svn 11764 version and contain translation work done until now.
For Russian language, I have also found a quite recent page but not up to date. Many translations need to be approved, but I'm not the right guy to do that ! (I learned Russian language at school, but this was a long time ago ;).
The launchpad page is opened as "structured". So you should be able to propose new translations. In some cases, they should be approved by somebody before publication.
It's certainly possible to add approbators but I still does not know how to do.

I'll try to maintain the "template" when new English strings will be available.
You (translators) should be able to participate. You need to have a launchpad (Ubuntu) account.
Other users can request a download for the .po ou .mo file. It's this last one (.mo file), the binary form, that you can use for using C::B in your own language : simply put it in your "codeblocks installation directory"/share/CodeBlocks/locale/"language string" (for me, on Windows, it's C:\Program Files\CodeBlocks_wx312_64\share\CodeBlocks\locale\fr_FR). Then in the menu Settings/Environment.../View you should be able to choose the language.

It's also certainly possible to add somebody to update the "template". If there is a volonteer ...  ;D (who knows how to add his name at the right place 8)).

gd_on

gd_on:
A few precisions for using translated menu strings in C::B.

For users of translations only :
Download the .mo format file in the requested language. The launchpad name may be something like : de_LC_MESSAGES_All_codeblocks.mo (here for german).
You should put this file inside your codeblocks installation directory.
On Windows, it's something like : C:\Program Files (x86)\CodeBlocks\share\CodeBlocks\locale\xxxx (for 32 bits) or C:\Program Files\CodeBlocks\share\CodeBlocks\locale\xxxx for 64 bits.
Path under Linux is quite similar.
xxxx has to be adapted to your language. It's :
de_DE for German,
es_ES for spanish,
fr_FR for french,
it_IT  for italian,
lt_LT  for lithuanian,
nl_NL for dutch,
pl_PL for polish,
pt_BR for portuguese brasilian,
pt_PT for portuguese,
ru_RU for russian,
si        for sinhalese,
zh_CN for chinese simplified,
zh_TW for chinese traditional.

Create the sub-directories if needed. And place your downloaded .mo file here. You can leave the filename as it is or only keep the first letters (as you want), but keep the extension .mo.

Then start CodeBlocks. In setting/Environment/View you should be able to check the language box (internationalization) and choose your language. If not, you have probably forgotten something or made an error.
Restart C::B to activate the new language.

If you want to switch back to english, simply uncheck the language box.

For translators :
you can directly work in launchpad.
Problem : the interface is not really friendly.
You can also download the .po file, work on it with poedit for example (free version is OK). You can test your translations locally by compiling (creating a .mo file) and installing the .mo file in the right sub-directory of CodeBlocks.
When you have made sufficient progress (it's your decision), you can upload you .po file in launchpad. It may be necessary to approve your work or mark it as to be reviewed.
Don't be afraid : it's quite a long work. In the old site there was 2173 string to translate. Now it's more than 9300 ! But the job can be shared, Launchpad is done for that !
Tip : Begin with menus that you use often : you'll see the progress.

gd_on



gd_on:
Updated on Launchpad to svn 11848

gd_on:
Updated on Launchpad to svn 11890

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version