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

Code::Blocks' translation

<< < (20/57) > >>

noisy.pl:
Hi.

Where I should copy my *.pot file to translate my CB?

PsYhLo:
http://forums.codeblocks.org/index.php/topic,1022.msg29519.html#msg29519

stonemind:
I will take care of Vietnamese.

Ganbito:
I have downloaded the spanish translation from Launchpad (.po and .mo files) and copied the .mo one to "/usr/share/locale/es/LC_MESSAGES" and even to "/usr/share/locale-langpack/es/LC_MESSAGES" and I have changed the name of the .mo file to "codeblocks.mo".

I am sure that the locale of my Ubuntu 8.04 x86_64 is "es" and I have activated the setting "Internationalization" and changet it to "Available Languages" in "Settings->Environment" inside Code::Blocks svn5105.

After that I can only see a few (three) messages changed and the rest continue in English. That changes do not seem to be made by the .mo files that I have copied there.

What I am doing wrong? Have I to modify the source code as it is related in another post?

Serching for the mistake, I have edited the .mo file with poEdit and it appears to be empty (0% translation). Then, I have opened the .po spanish file and it has 100% translated, so I have saved it to a "codeblocks.mo" file and with the same result: 0% translation in poEdit, Code::Blocks still in English after copying it to the above mentioned directories.

PD: I have started Galician translation at Launchpad, with the hope of seeing Code::Blocks in Galician when I know how to do it :?

gd_on:
poedit is made to open .po file which are text files, not .mo files which are binary files.
poedit transforms the .po text file in .mo binary file, but cannot interpret directly .mo files. (as far as I know!)
So your problem is elsewhere : a misspelled name, a lower or upper wrong case somewhere,.... a wrong path ...
As I'm under windows, and paths are differents, I can't help you more.

gd_on

PS : are you sure that your path is with /es/. May be it's /es-ES/.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version