Code::Blocks

Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: teto on October 06, 2005, 08:55:03 pm

Title: Code::Blocks' translation
Post by: teto on October 06, 2005, 08:55:03 pm
Hello,

I'm a translator and I wonder if a French translation of Code::Blocks was in progress.
If not, I would really be interessed in translating it to my native language.
Furthermore,do yon plan to add a translation system ?

I'll just ask a link to the French translation community's web site : www.toutfr.com.

Best regards,

Teto
Title: Re: Code::Blocks' translation
Post by: teto on October 12, 2005, 03:23:21 pm
Are you really not interested in a translation of Code::blocks.
A just ask for an answer plz ^^
Title: Re: Code::Blocks' translation
Post by: thomas on October 12, 2005, 03:37:46 pm
Internationalisation is in progress. As far as French is concerned, best ask Zlika. :)
Title: Re: Code::Blocks' translation
Post by: teto on October 13, 2005, 07:03:18 pm
Thx for your answer.
I will manage with him.
Title: Re: Code::Blocks' translation
Post by: zieQ on October 16, 2005, 02:21:27 pm
I'm french too, I could give an eye to the translation, I have not much time to help for now  :roll:
Title: Re: Code::Blocks' translation
Post by: teto on October 16, 2005, 02:40:12 pm
Ok thx.
When a translation will be possible,
feel free to contact me at mcoudron at hotmail.com ;)
Title: Re: Code::Blocks' translation
Post by: Desco on October 23, 2005, 01:56:19 pm
I'm interested in hugarian translation.
Title: Re: Code::Blocks' translation
Post by: heromyth on November 11, 2005, 06:41:05 am
I have a suggestion that all of you who want to do translation go to here

https://developer.berlios.de/patch/?func=browse&group_id=5358&set=open

and download the file codeblocks.pot which I'll update regularly. Then you can  use the tool  PoEdit  (http://www.poedit.org/) to translate codeblocks.pot into your locale language called codeblocks.po,  and you can mail the translated file  codeblocks.po to me (zxpmyth#yahoo.com.cn). There is a file called zh_CN.po which is Chinese po file translated by myself. I'll compiled CB to support your language file. You can download international CB at http://bitworld.ys168.com.

At present, my compiled CB just support Chinerse and English.

In fact, I hope CB maneger can create a directory like po to store the language po files in the CVS respository.
Title: Re: Code::Blocks' translation
Post by: .angelo on November 11, 2005, 02:48:49 pm
by the way - polish translation 32%  :)
Title: Re: Code::Blocks' translation
Post by: teto on November 11, 2005, 10:25:09 pm
Thx for your explanation.
French translation in progress...
Title: Re: Code::Blocks' translation
Post by: Mathelec on January 02, 2006, 07:15:36 pm
Where is the french translation ?



Ou en est la traduction francaise ^^ ?
Title: Re: Code::Blocks' translation
Post by: teto on January 03, 2006, 08:57:36 pm
It's a lot of work ( 1500 lines ) and I'm very busy at the moment.
30% are done .
So some help would be enjoyable .

Feel free to contact me if you are interested.

Je suis très occupé par mes études en ce moment et pour un certain temps.Donc si tu veux m'aider a traduire,je t'envoie ce que j'ai déjà fait,c'est très simple à mettre en place.
Title: Re: Code::Blocks' translation
Post by: Revvy on January 14, 2006, 07:05:39 pm
It's a lot of work ( 1500 lines ) and I'm very busy at the moment.
30% are done .
So some help would be enjoyable .

Feel free to contact me if you are interested.

Je suis très occupé par mes études en ce moment et pour un certain temps.Donc si tu veux m'aider a traduire,je t'envoie ce que j'ai déjà fait,c'est très simple à mettre en place.

I'm taking grade 12 french right now, and I would like to see what you've done and perhaps try some myself.  You could make corrections then =P
Title: Re: Code::Blocks' translation
Post by: sethjackson on January 14, 2006, 11:31:50 pm
It's a lot of work ( 1500 lines ) and I'm very busy at the moment.
30% are done .
So some help would be enjoyable .

Feel free to contact me if you are interested.

Je suis très occupé par mes études en ce moment et pour un certain temps.Donc si tu veux m'aider a traduire,je t'envoie ce que j'ai déjà fait,c'est très simple à mettre en place.

I'm taking grade 12 french right now, and I would like to see what you've done and perhaps try some myself.  You could make corrections then =P

Your in grade 12 french and your 16?  :shock: Well maybe it is different in Canada than the USA, because I'm in 10th grade and I'm in Spanish 1.......

Anyways it is nice to see people translating C::B into other languages. :)
Title: Re: Code::Blocks' translation
Post by: teto on January 15, 2006, 08:54:22 pm
Ok send me a mail at mcoudron at hotmail.com and I will send you my beginning of translation.
Title: Re: Code::Blocks' translation
Post by: Almorca on January 17, 2006, 09:56:35 pm
I would like translate C::B to spanish.

I have download the .pot file and I will start briefly the translation.
Title: Re: Code::Blocks' translation
Post by: Revvy on January 17, 2006, 11:54:35 pm
I never realized there were so many strings o.O  This is going to take a while...
Title: Re: Code::Blocks' translation
Post by: teto on January 18, 2006, 05:04:26 pm
:D
Thx ;)
Title: Re: Code::Blocks' translation
Post by: ocloma on January 31, 2006, 07:39:31 pm
you need help to spanish translation? I believe that I can help. :D
Title: Re: Code::Blocks' translation
Post by: Almorca on January 31, 2006, 09:31:09 pm
you need help to spanish translation? I believe that I can help. :D

I have not started with the translation because I have exams. I will start in March.
Title: Re: Code::Blocks' translation
Post by: bitcero on January 31, 2006, 10:47:57 pm
Spanish ?, i can help !!
hablo español , y estoy disponible  para lo que se necesite en este excelente proyecto!

 i'm from colombia!
Title: Re: Code::Blocks' translation
Post by: tiwag on January 31, 2006, 10:56:54 pm
who needs really any translation ?

i hate localized versions of programming tools.
Title: Re: Code::Blocks' translation
Post by: Ceniza on January 31, 2006, 11:10:00 pm
I do really prefer English versions, even more in programming tools, but it's more friendly for some ppl to have it in the language they're so used to read and write.

I'm also from Colombia and I know a lot of ppl who always prefer Spanish versions if available, so it wouldn't be that bad after all.
Title: Re: Code::Blocks' translation
Post by: Michael on February 01, 2006, 11:57:10 am
I am more for english version of OSs and software :). This is very good especially when you work on projects with partners of other native languages.

Anyway, to translate C::B in different languages could make it accessible for users who do not speak english. This IMHO would be a positve thing :).

Michael
Title: Re: Code::Blocks' translation
Post by: teto on February 01, 2006, 04:21:50 pm
You say that because you master English.But people who don't are like disabled.They can't access at nearly 90% of the web.
It doesn't really matter for programming softwares since programmers usually speak English.
However,there will always help someone.So I guess it's not useless.
Title: Re: Code::Blocks' translation
Post by: thomas on February 01, 2006, 05:11:20 pm
Localisation should be a matter of convenience, not of understanding.

If you are really unable to understand what is going on because something is in English, then sorry... but this is as if a blind man was attempting to drive a car.
You cannot possibly develop software or study computer science (or be active in any other scientific area) without sufficient skill in English. Seriously, a good Enlish course is the best investment that you can make. Most technical documentation and almost all scientific papers are in English (as is most of the Internet), and it is not a particularly complicated language, either. ;)

Personally, I don't like localised development tools. These confuse the hell out of me. Not only are many translations really pathetic (quite often, they make you shout "what the F@~* is this supposed to mean!!!"), but your brain has to switch between two languages all the time, which is tiring. Certainly, other people have different preferences, but like I said, this is a matter of convenience.

For me, localised versions are acceptable (and desirable) for example for a word processor or for a window manager, because you usually write your letters (or work, in general) in the same language. Also, most "everyday" menu items are not technical terms from CS, so the overall risk of incomprehensible translations such as "Laufwerk aushängen" or "Automatische Eingabeaufforderung für ActiveX-Steuerelemente" is not too great (I have to read this five times to understand what it's supposed to mean...).
Title: Re: Code::Blocks' translation
Post by: takeshi miya on February 01, 2006, 05:17:22 pm
I don't like tranlated versions of development tools. I guess 90% of programmers don't like either.

But, you need to know, that the newbies and people starting to grown on programming, can't do if they don't have the localized version. Too much new stuff for them.

I remember years ago, using Visual Basic localized, and it helped a lot in that time (because I didn't knew english).

So please stop this discussion.
Localization is always needed, even if most people don't like them.
Title: Re: Code::Blocks' translation
Post by: teto on February 01, 2006, 05:26:08 pm
Quote
I don't like tranlated versions of development tools. I guess 90% of programmers don't like either.
I agree since most of English terms are untranslatable into our native language.But we have to stop our discussion,otherwise ....
Quote
Localization is always needed, even if most people don't like them.

 www.toutfr.com which translates softwares into French has 5 000 visitors a day.I mean people ask for translations.
Title: Re: Code::Blocks' translation
Post by: Szabadember on February 02, 2006, 11:50:53 pm
I'm 17 and i'm learning german for 11 and english for 7 years, i have my german diploma for 3years now.
I would like to translate Code Blocks to hungarian and german. ;)
Title: Re: Code::Blocks' translation
Post by: heromyth on February 03, 2006, 02:32:36 am
After CB uses default.conf as its configure file or is built with UNICODE mode, the internationalize of CB seems more difficult than before.
I don't want to say much more lest so many people be annoyed. :P
I'll try to solve them.
Title: Re: Code::Blocks' translation
Post by: thomas on February 03, 2006, 10:02:53 am
After CB uses default.conf as its configure file or is built with UNICODE mode, the internationalize of CB seems more difficult than before.
I don't want to say much more lest so many people be annoyed. :P
I'll try to solve them.
Please do say more. What exactly is making it more complicated?
Title: Re: Code::Blocks' translation
Post by: heromyth on February 04, 2006, 03:16:07 pm
After CB uses default.conf as its configure file or is built with UNICODE mode, the internationalize of CB seems more difficult than before.
I don't want to say much more lest so many people be annoyed. :P
I'll try to solve them.
Please do say more. What exactly is making it more complicated?

I build CB with unicode mode, but my translation can't works any more like before. Maybe I don't find the right way. So I build CB with ansi mode. Now my translation works. However another problem produced. That's some phrases translated by me have been written into the file default.conf. When I first launch CB and close it, an exception will be raised. It's from sdk\configuremanager.cpp:487 and it says the node and the namespace are "an_dlg". That's because I have translated this phrase "Layout changed!"  in src\main.cpp:917. Then I choice not to translated it and launch CB again (Notice, some Chinese characters have been existed in the file default.conf). A alert window shows these:
Code: [Select]
TinyXML error:
Error reading end tag.

Good news
After I change the defult.conf's code page to utf-8, the second problem seems disappeared and the first one still be there.  Perhaps it is because CB is working with ansi mode, so the default.conf's code page is ansi.  However there produces another problem that all the Chinese characters in default.conf can't be shown correctly.
Title: Re: Code::Blocks' translation
Post by: thomas on February 04, 2006, 06:02:41 pm
This has nothing to do with the fact that the config is stored in xml, but you have found an actual bug in AnnoyingDialog there. :)

The reason why this fails is that the dialog's caption is used
a) as the caption
b) as the title in the check list box where you can re-enable disabled dialogs
c) as a key in the config file (this works fine in English but is deadly with Chinese chars)

Although the problem is easily identified, a solution is not quite so easy. Well, the solution *is* easy, but it will break the exisiting configuration files for everybody...

Let me think about what to do best.
Title: Re: Code::Blocks' translation
Post by: heromyth on February 05, 2006, 03:15:10 am
It's really difficult in handling the non-English characters in XML files. So I have an idea submitting this bug to TinyXML.  :P
Title: Re: Code::Blocks' translation
Post by: takeshi miya on February 05, 2006, 03:21:45 am
It's really difficult in handling the non-English characters in XML files. So I have an idea submitting this bug to TinyXML.  :P
Why you say that? tinyXML supports Unicode UTF-8 encoded strings.
Title: Re: Code::Blocks' translation
Post by: raicuandi on February 05, 2006, 09:06:39 am
I've begin the romanian translation. Is there anyone else working on this, to avoid a double-effort?
Title: Re: Code::Blocks' translation
Post by: thomas on February 05, 2006, 04:22:45 pm
It's really difficult in handling the non-English characters in XML files. So I have an idea submitting this bug to TinyXML.  :P
Don't bother, this really was not a bug in TinyXML, but improper use (read: our fault). Using non-ANSI characters in xml is wrong.
Title: Re: Code::Blocks' translation
Post by: heromyth on February 06, 2006, 02:23:24 am
Yes, if all the words ouput to default.conf have't been translated before doing the ouput, I think, that problem also can be resolved. It seems many works must to be done.

Quote
Why you say that? tinyXML supports Unicode UTF-8 encoded strings.
I have changed the code page of default.conf which also include some non-ANSI characters to UTF-8, but these characters can't be shown correctly in CB. Sorry for my superficial tested result.
Title: Re: Code::Blocks' translation
Post by: heromyth on February 13, 2006, 12:27:19 pm
It's really difficult in handling the non-English characters in XML files. So I have an idea submitting this bug to TinyXML.  :P
Don't bother, this really was not a bug in TinyXML, but improper use (read: our fault). Using non-ANSI characters in xml is wrong.

Not like that. It's improper use _U() and _C(). I have a patch for this at https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=827&group_id=5358.

Now the default.conf can have non-English characters which are certainly UNICODE. That is to say that the default.conf won't be affected on by the translation.
Title: Re: Code::Blocks' translation
Post by: thomas on February 13, 2006, 12:45:59 pm
Please accept that you cannot use xml tags that contain Chinese characters. It does not matter whether you convert the wxStrings or not, it is illegal.

If you write something like
Code: [Select]
key << _("/file_groups/group") << wxString::Format(_T("%d"), i) << _T("/") << _T("name");i.e. you translate the path, then this does not only make it impossible for people who are unable to speak Chinese to find an error in such a file, but it is also illegal.
It might even appear to work out of pure coincidence, but at some random point, it will fail, and we will not know why!
Please don't do such things, you're opening Pandora's box. Configuration keys should not be translated, and they should not contain special characters.

Storing non-ANSI characters as data is a completely different thing, this works fine since end of December, and you can certainly do it.
Title: Re: Code::Blocks' translation
Post by: heromyth on February 13, 2006, 01:45:04 pm
Please accept that you cannot use xml tags that contain Chinese characters. It does not matter whether you convert the wxStrings or not, it is illegal.

Yes, it's. So if the code is like this
Code: [Select]
key << _("/file_groups/group") << wxString::Format(_T("%d"), i) << _T("/") << _T("name");, it is wrong. It should be like that:
Code: [Select]
key << _T("/file_groups/group") << wxString::Format(_T("%d"), i) << _T("/") << _T("name");
My patchs have resolved some problems like this in CB's source codes.

Quote
Storing non-ANSI characters as data is a completely different thing, this works fine since end of December, and you can certainly do it.


I'am sure there is no problem with English characters with non-ANSI and ANSI mode. I have tested it that CB can't compeletly handles the non-English characters like Chinese characters as datas in default.conf with non-ANSI mode.  This patch also can resolve it.

I havn't tested it widely with non-English with ANSI mode.  So I have no idea of it.
Title: Re: Code::Blocks' translation
Post by: sasq on February 23, 2006, 06:52:42 am
I have a suggestion that all of you who want to do translation go to

http://sourceforge.net/tracker/index.php?func=detail&aid=1274988&group_id=126998&atid=707418

The link is broken [SourceForge complains about missing file].
I'm interested in making a Polish localization of Code::Blocks.
Title: Re: Code::Blocks' translation
Post by: heromyth on February 24, 2006, 03:10:00 am
I have a suggestion that all of you who want to do translation go to

http://sourceforge.net/tracker/index.php?func=detail&aid=1274988&group_id=126998&atid=707418

The link is broken [SourceForge complains about missing file].
I'm interested in making a Polish localization of Code::Blocks.

The new link has been changed to this https://developer.berlios.de/patch/?func=browse&group_id=5358&set=open
Title: Re: Code::Blocks' translation
Post by: Revvy on February 25, 2006, 01:58:17 am
I'm sorry, I really don't have time to work on translating Code::Blocks any more.  I'll send what I did to the guy who passed it off to me, hopefully there's somebody who has time and skill to apply to this.
Title: Re: Code::Blocks' translation
Post by: heromyth on February 27, 2006, 01:31:54 am
I'm sorry, I really don't have time to work on translating Code::Blocks any more.  I'll send what I did to the guy who passed it off to me, hopefully there's somebody who has time and skill to apply to this.
Maybe you can submit your works to http://developer.berlios.de/patch/?func=addpatch&group_id=5358. Then somebody can benefit from it.
Title: Re: Code::Blocks' translation
Post by: Trikko on February 27, 2006, 09:03:29 am
If you want i can translate C::B in italian...
Title: Re: Code::Blocks' translation
Post by: Almorca on February 28, 2006, 11:04:52 pm
I think that a forum for translation would have to be created for the coordination of the translations.

P.D. I have started the spanish translation.
Title: Re: Code::Blocks' translation
Post by: PsYhLo on March 15, 2006, 05:50:50 pm
Hi i'm newbie in Code::Blocks, but i like the IDE you've done and started to translate the UI in BG(bulgarian)
I hope there are other BG users here in the forum and can help me to do that. Please contact me if you want to help me
ICQ:222630207 and e-mail: psyhlo@gmail.com

sorry for my poor english
Title: Re: Code::Blocks' translation
Post by: Game_Ender on March 16, 2006, 09:40:44 pm
I think that a forum for translation would have to be created for the coordination of the translations.

P.D. I have started the spanish translation.


Please, no more forums, several sticky topics would be better.  Just one for each langauge with the first post always edited to reflect the current status of the translation.
Title: Re: Code::Blocks' translation
Post by: Zlika on March 21, 2006, 08:44:30 pm
I agree with Game_Ender. Maybe we should even create a "Translation" forum, with sub-forum for each language (even english, because as many of the devs are not native english spokers, maybe there are some improvements to do).

Then a directory should be created on SVN (with write access to a couple of devs per language) to put the po files and update them in the same way as the source files.
Title: Re: Code::Blocks' translation
Post by: takeshi miya on March 21, 2006, 09:08:17 pm
I agree with Game_Ender. Maybe we should even create a "Translation" forum, with sub-forum for each language (even english, because as many of the devs are not native english spokers, maybe there are some improvements to do).

Then a directory should be created on SVN (with write access to a couple of devs per language) to put the po files and update them in the same way as the source files.
Something like this will help: http://l10n.kde.org/stats/doc/trunk/kdevelop
Title: Re: Code::Blocks' translation
Post by: Zlika on March 21, 2006, 09:22:53 pm
Exactly, but we can start by something simpler.
Title: Re: Code::Blocks' translation
Post by: PsYhLo on March 24, 2006, 10:58:16 am
where i can put my translation to view what i have done
Title: Re: Code::Blocks' translation
Post by: thomas on March 24, 2006, 11:25:52 am
where i can put my translation to view what i have done
You can upload your patches here:
http://developer.berlios.de/patch/?func=addpatch&group_id=5358

As a general thing regarding translations, please do note two things:

Title: Re: Code::Blocks' translation
Post by: PsYhLo on March 24, 2006, 11:32:12 am
ok 10x for the answer
i'll translatet as much as i can
soon i'll submit translated .po file(or/and compiled .mo file)
Title: Re: Code::Blocks' translation
Post by: teto on May 11, 2006, 09:19:20 pm
I gave my beginning of translation to 2 teams but it seems they didn't finish it.

I just want to check because I might finish the translation if nobody wants to. ( I was at 45 % and now I am getting more free time ).

Ps: Good idea the sub-forum ^^
Title: Re: Code::Blocks' translation
Post by: Lazarus Long on May 24, 2006, 09:11:40 pm
Hi, thomas:

First of all, I don't know what to do with a .pot file in the first place, so I cannot do it, and Yiannis is quite busy too.

A pot file is a message catalog template, from which the message catalog files (po) are generated. These, using the GNU gettext utilities are compiled into the mo files that are distributed along the program and that allow the localization.

It can be found here (http://www.gnu.org/software/gettext/gettext.html) information about GNU gettext and here (http://sourceforge.net/project/shownotes.php?release_id=325693&group_id=23617) information on how to include support for it in Windows binaries.

Cheers,
Title: Re: Code::Blocks' translation
Post by: David Perfors on May 24, 2006, 09:43:16 pm
wxWidgets has its own gettext replacement, so it is not needed to include support for it in Windows binaries ;)
Title: Re: Code::Blocks' translation
Post by: PsYhLo on June 03, 2006, 12:10:10 pm
How can i compile SVN copy of Code::Blocks with my translation where should i put the .pot or po file or someting else that i should to do
Title: Re: Code::Blocks' translation
Post by: PsYhLo on June 12, 2006, 10:09:37 pm
I found it by my self
http://wiki.codeblocks.org/index.php?title=Internationalization
Title: Re: Code::Blocks' translation
Post by: edgar on June 17, 2006, 04:41:56 am
Hi,

my name is Edgar Franke from Karlsruhe, Germany, and I whould like to help
with the german translation and ask wether anybody else is doing the same.

I have already sent a message to Szabadember, who had offered to start a
german translation a few months ago.

I'm working here with handicapped people and some of them do not even know
a single word of english language (and really memorize all terms and commands
without knowing the english meaning), to them it whould be a big help to have
at least a german interface (even partially german whould help).

To me myself C++ and english language are not such a problem but 2000 strings
make me get dizzy in my head ...

thank you,

- edgar
Title: Re: Code::Blocks' translation
Post by: Fabogranqi on June 19, 2006, 01:31:13 pm
Hi,

I've begin the French translation.
I have translate 35% of the pot files ;)
Title: Re: Code::Blocks' translation
Post by: PsYhLo on July 07, 2006, 08:41:15 am
Hello i'm searching for @heromyth i have one request can you update your script with whom you creat the pot file
so we can translate everyting in code:blocks

sorry for my bad english
Title: Re: Code::Blocks' translation - French
Post by: grandzebu on July 13, 2006, 12:09:50 am
It seems that several French translation are in progress ... I propose to centralize the differents files codeblocks.pot on this page : http://grandzebu.net/informatique/cpp/codeblocks.htm
Just send the file to frenchcb at grandzebu dot net (Replace at and dot !)
Perhaps this will help us to share the work !
GZ

Il semble que plusieurs version françaises soient en cours ... Je propose de centraliser les différents fichiers codeblocks.pot sur cette page : http://grandzebu.net/informatique/cpp/codeblocks.htm
Envoyez juste le fichier à frenchcb at grandzebu dot net (Remplacez at et dot !)
Peut-être que cela nous aidera à nous partager le travail !
GZ

Edit July 21, 2006 : Now we use Launchpad - Maintenant nous utilisons launchpad
Title: Re: Code::Blocks' translation
Post by: peso on July 13, 2006, 09:56:40 am
I haven't read all of this thread, but it seems that a central translation server could be good for everybody.

Why not register CodeBlocks at https://launchpad.net/ (https://launchpad.net/) ?
This makes it easy to coordinate many translators, and to see how translation is progressing.

WxWidgets uses launchpad for translation
https://launchpad.net/products/wxwidgets (https://launchpad.net/products/wxwidgets)
Title: Re: Code::Blocks' translation
Post by: PsYhLo on July 13, 2006, 10:47:33 am
ya good idea
Title: Re: Code::Blocks' translation
Post by: heromyth on July 13, 2006, 03:14:30 pm
Hello i'm searching for @heromyth i have one request can you update your script with whom you creat the pot file
so we can translate everyting in code:blocks

sorry for my bad english

At http://wiki.codeblocks.org/index.php?title=Internationalization, I write a script called intl.bat. Use this script can take almost all of the translating strings out from the source files. From the begining, I have been using it. Of course, I'll update it if I have found it missed some strings.

If wanting CB to support your language, you must modify the file \codeblocks\src\src\appglobals.cpp. In it, you can search the word 'Chinese' to see the example.
Title: Re: Code::Blocks' translation
Post by: PsYhLo on July 13, 2006, 05:19:06 pm
the script doesn't take strings from plugins/contrib
Title: Re: Code::Blocks' translation
Post by: Charon on July 14, 2006, 05:29:10 pm
using launchpad for translation might really be a good idea!

i (too) started to translate Code::Blocks into german and saw atleast two other people around here doing the same thing. not coordinating this means the same work is done too often...

using launchpad should really accelerate the translations and at the same time improve its quality (since non registered users can atleast suggest translations in launchpad).

attached is my first go at a german translation. its faaaaar away from being finished but atleast its a start...

[attachment deleted by admin]
Title: Re: Code::Blocks' translation
Post by: mandrav on July 14, 2006, 08:10:17 pm
OK everyone. I 've registered C::B in launchpad. Project page is at http://launchpad.net/products/codeblocks.
I 've also uploaded the latest .pot file by heromyth (30 June).

I don't know how we 'll use this system but I guess I 'll find out after my vacations are over ;).
Title: Re: Code::Blocks' translation
Post by: Charon on July 14, 2006, 11:52:00 pm
great! thanks alot :D

if understand it right the only thing left to do is register the codeblocks-project with "rosetta" (the translation frontned of launchapd) so people can start the translations!


gah, posintg lgihtly drunk is NOT a good idea...
Title: Re: Code::Blocks' translation
Post by: PsYhLo on July 15, 2006, 08:57:36 pm
cool i have already start to translate tnx for that
Title: Re: Code::Blocks' translation
Post by: lfm on July 16, 2006, 11:22:10 am
In launchpad, i have try to translate chinese based on heromyth' work.
Title: Re: Code::Blocks' translation
Post by: heromyth on July 26, 2006, 04:31:24 am
In launchpad, i have try to translate chinese based on heromyth' work.

I have uploaded the Chinese PO file to finish the translation :lol:
Title: Re: Code::Blocks' translation
Post by: mateo21 on August 02, 2006, 05:43:16 pm
Hi,

I would like to notice that french translation is over, as you can see here :

https://launchpad.net/products/codeblocks/trunk/%2Bpots/codeblocks/fr/+translate?batch=10&show=translated

A lot of work had been done by the first translators but a few sentences were missing or needing correction.
I asked help to friends and now I think it is usable.

Can you please tell me how much time you will need to integrate french in the Code::Blocks package ?
I am running a french C / C++ programming tutorial on www.siteduzero.com, and a french version would help a lot in spreading Code::Blocks (more than you can imagine ;) )


Thanks :)
Title: Re: Code::Blocks' translation
Post by: heromyth on August 04, 2006, 05:37:05 am

Can you please tell me how much time you will need to integrate french in the Code::Blocks package ?

This article seems to be helpful for you:
http://wiki.codeblocks.org/index.php?title=Internationalization
Title: Re: Code::Blocks' translation
Post by: mateo21 on August 04, 2006, 11:44:00 am
Thanks heromyth,

I'll try to do that.
But I was thinking about a downloadable french version available on codeblocks.org (a complete installable version).

I'll tell you if I think that the french version is usable ;)
Title: Re: Code::Blocks' translation
Post by: heromyth on August 05, 2006, 03:19:33 am
After you have done the correct modification and tested it, you can upload your patch at http://developer.berlios.de/patch/?func=addpatch&group_id=5358
Title: Re: Code::Blocks' translation
Post by: mateo21 on August 09, 2006, 05:40:39 pm
Thanks, but I think it still needs some improvements.
Title: Re: Code::Blocks' translation
Post by: grandzebu on August 12, 2006, 01:48:59 am
I have compiled a french version. I corrected some mistakes but the pot file uploaded on launchpad is too old (Feb 2006) and some strings are missing.
The result is almost OK.
My work is available (in french) at http://grandzebu.net/informatique/cpp/codeblocks.htm
I have uploaded the .po file at launchpad.
I leave on holiday for a week ... without internet !  :D
GZ
Title: Re: Code::Blocks' translation
Post by: mateo21 on August 17, 2006, 12:37:57 pm
I've seen that some translations are missing. Is there a way to translate just them ? I suppose...
We also need to translate the tips and the homepage. How can we do that ?

Finally, we need to make a french installer, but this is the easy part...
Title: Re: Code::Blocks' translation
Post by: thomas on August 17, 2006, 07:53:57 pm
Quote
We also need to translate the tips
Translating them is easy, it's a plain text file. Organising them is another thing...
Currently we do not have support for internationalising the tips at all (though it should not be hard to implement).
If you make any translations of the tips file, you should save it to a file named tips.[lang].txt, with [lang] being the respective ISO 639-1 code (for example tips.fr.txt or tips.it.txt). Then we can simply choose the right file after querying the locale.

Quote
and the homepage.
You don't need to worry about that :)

Title: Re: Code::Blocks' translation
Post by: grandzebu on August 26, 2006, 01:26:15 am
I have written to Yiannis Mandravellos for asking him to upload a recent .po file at launchpad ...
Wait and see ...
GZ  8)
Title: Re: Code::Blocks' translation
Post by: TheOld190 on September 01, 2006, 01:35:06 pm
Just wondering if somebody going to make a Russian translation. I'll try to start this :)
Title: Re: Code::Blocks' translation
Post by: PsYhLo on September 01, 2006, 01:51:33 pm
go ahead
https://launchpad.net/products/codeblocks/trunk/+pots/codeblocks/ru/+translate

fisrt register your self in launchpad.net
Title: Re: Code::Blocks' translation
Post by: aurisc4 on September 01, 2006, 10:19:22 pm
I just started with Lithuanian translation.
Title: Code::Blocks - French version
Post by: grandzebu on September 05, 2006, 01:04:17 am
 :D
The first french version of Code::Blocks is available at : http://grandzebu.net/informatique/cpp/codeblocks.htm (french page)
Corrections will be necessary ...
 :D
Title: Re: Code::Blocks' translation
Post by: dk on September 05, 2006, 10:57:10 am
Just wondering if somebody going to make a Russian translation. I'll try to start this :)
I am very interesting in Russian translation. May be, I can help, but later, I am very busy nowadays.

But I am going to become a codeblocks rpm maintainer for ALT Linux (http://www.altlinux.ru) distribution.
Title: Re: Code::Blocks' translation
Post by: grandzebu on September 07, 2006, 01:30:39 pm
I'm trying to use heromyth's script (Found at http://wiki.codeblocks.org/index.php?title=Internationalization )

We have some lines such :

xgettext -C -n -k_ -j -o po\codeblocks.pot sdk\*.cpp sdk\*.h

but xgettext don't like   sdk\*.cpp   and say 'bad argument'. It seems that the * can't be used. :x
I'm looking for a version of xgettext which accept le * character.
Thank's
Grandzebu
Title: Re: Code::Blocks' translation
Post by: grandzebu on September 11, 2006, 09:01:15 pm
HELLO O O O O ....
No, it seems that there's nobody here !
Since nobody can inform me about this    *&$:\:/   of xgettext, I'm going to write my own tool which will do the work of the script in order to get the desired .pot file. :cry:
Title: Re: Code::Blocks' translation
Post by: chikigai on October 16, 2006, 08:02:33 am
Hello,

I've been working on Translation through Launchpad.
Just wondering if the trunk maintained in Berlios is uploaded to the trunk at Launchpad once in a while.
Are the PO files in Launchpad currently based on significantly older source files?
Would it be better to download the latest POT files from the Berlios SVN to work on Translation?
Title: Re: Code::Blocks' translation
Post by: grandzebu on November 25, 2006, 07:52:09 pm
Hello,
I'm coming back and my tool for making POT file from a nightly build is nearly ready ...
The features of this program :
- it parse all sources files (cpp, h, xrp) in a directory and its sub-directories (No need to add manually the new files) and it create the POT file (unicode 8 encodation)
- it create a PO file for a new language
- it update a PO file with a new POT file or with and other PO file
and I'm adding an editor for the translation (like poedit)
It run under Windows and is written in Visual Basic. The license will be GNU GPL.
GZ
Title: Re: Code::Blocks' translation
Post by: Alexbad on November 26, 2006, 04:53:14 am
Hi,

Do you have any idea of when official translations are gonna be available ? :)

Will the website be translated ? Forums for all languages ?

Thanks a lot ;) .
Title: Re: Code::Blocks' translation
Post by: PsYhLo on January 13, 2008, 12:24:08 pm
@mandrav
can you update pot file in https://translations.launchpad.net/codeblocks/trunk/+pots/codeblocks
because is a bit older :) and there was so many changes in codeblocks and when you put your translation for use with codeblocks some options are missing :(

PS
i hope you understand me
sorry for my english
Title: Re: Code::Blocks' translation
Post by: Charon on February 29, 2008, 02:50:09 pm
Is there a chance that we get the translatable strings in launchpad updated so we can work on proper translations for Code::Blocks 8.02?

Thanks
Markus
Title: Re: Code::Blocks' translation
Post by: noisy.pl on March 17, 2008, 05:17:44 pm
Hi.

Where I should copy my *.pot file to translate my CB?
Title: Re: Code::Blocks' translation
Post by: PsYhLo on March 18, 2008, 10:58:41 am
http://forums.codeblocks.org/index.php/topic,1022.msg29519.html#msg29519
Title: Re: Code::Blocks' translation
Post by: stonemind on April 10, 2008, 12:20:34 pm
I will take care of Vietnamese.
Title: Re: Code::Blocks' translation
Post by: Ganbito on June 27, 2008, 01:08:03 pm
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 :?
Title: Re: Code::Blocks' translation
Post by: gd_on on June 27, 2008, 08:06:58 pm
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/.
Title: Re: Code::Blocks' translation
Post by: Ganbito on June 27, 2008, 10:32:36 pm
I am new to poEdit, but it seems that you are right, poEdit cannot interpret directly .mo files.
I started with the directories of the locales that are created at the moment, and there is no "/es-ES/" so I started trying with "/es/". But, as it seems not to work, I start trying "es_ES" (locales uses underscore), but I also try "es-ES" and some other similar locales that I remmember from my tests with other linux distributions (Debian, Opensuse, Fedora...). Then I have tried to copy spanish "codeblocks.mo" to all the locales just for try... and nothing works.

At the end, I tried the path that appers in this link http://wiki.codeblocks.org/index.php?title=Internationalization: /usr/X11R6/share/locale/<lang>/LC_MESSAGES/, but it seems that it is not the path that Ubuntu uses for internationalization.

In the wiki says that we have to edit a source file, but I have thinked that in this case it is not necessary, and I have installed Code::Blocks from .deb files build for us by Xaviou (http://forums.codeblocks.org/index.php/topic,8688.msg63302.html#msg63302).

PD: I will continue using C::B even if I cannot translate it, because it is (for me) the best IDE for C++ and wxWidgets at the moment (and I have tested all that I found).
Title: Re: Code::Blocks' translation
Post by: Ganbito on July 06, 2008, 12:42:16 pm
I started with internationalization under my own project and, after no little pain, I get it to work and then: "Well, now that I know how to make wxWidgets internationalization work, let's have a look on Code::Blocks's source code about internationalization".

I downloaded the source through svn and opened it with C::B. I found the function "Initlocale()" where it seems that you start the locales. I see that you add a "path" to search catalog that I don't knew what was it so I added a simple "wxMessageBox(path, wxT("path"));" to see what was it. That wxMessageBox said (after "make install"):
Code: [Select]
/usr/share/codeblocks/locale
So putting the ".mo" file to the default folder "/usr/share/locale/<language>" do nothing for C::B. Then I put "_codeblocks-es.mo" to "/usr/share/codeblocks/locale" and it works!

I realised that the name of the ".mo" is not important, it works fine at least if you have only 1 ".mo" in that folder. I think that happens because I do not choose a particular language in "Settings->Environment...", but "Available languages". I also test that putting the ".mo" to a subfolder "es/LC_MESSAGES" or "es_ES/LC_MESSAGES" make it not to work.

The subfolder "locale" under "/usr/share/codeblocks" has to be created manually, it has not been created by the installation.

I think that the wiki have to be changed to reflect this for new users.
Title: Re: Code::Blocks' translation
Post by: Ganbito on July 12, 2008, 08:03:05 pm
I reinstalled my SO updating it to Ubuntu 8.04.1 (64 bits).

Unfortunately, Code::Blocks localization does not work with this version. It seems that is not a problem of Code::Blocks itself, because it works well under the previous Ubuntu version, but I thought that I should tell you about that.
Title: Re: Code::Blocks' translation
Post by: gd_on on September 27, 2008, 07:48:17 pm
I wanted to update my French version of Code::Blocks, but I have several problems :
1) pot file on launchpad site is too old and does not reflect actual code status. I've heard an update will be done with 8.02 version, but apparently it has not been done.
2) pot files on svn trunk are also outdated.
3) I thought I could use extract.bat and extract.bash files from svn, but this last one use a -P option in grep. My grep does not support this (I'm on windows xp with mingw32 4.2.1 tools, msys...). I'm able to do this in 2 times, first on .cpp files only and secondly on .h files only (but adding grep filters to avoid files containing svn-base or html in their names).
4) Some items or labels are now placed in .xrc files (for example in project_menu_import.xrc). Apparently, xgettext does not recognize those files and I don't know if it's possible to use it to extract those item and put them in a .pot file. I tried, but without success.
5) finally, if I want to use my .mo file on an other computer running Linux, I have not found where to put it. I tried in /usr/share/codeblock/locale as proposed earlier by Ganbito. It worked with Redhat 5, but administrators have been obliged to downgrade in Redhat 4.7 for compatibilies reasons with other sofwares. If I put my codeblocks.mo as previously in that folder, it does not work, and others places suggested by Ganbito does not work too. So, where is supposed to be placed this file in linux ? Depends of the distribution, the version ? Not clear for me.

gd_on

Title: Re: Code::Blocks' translation
Post by: jens on September 27, 2008, 08:36:22 pm
Do you know http://wiki.codeblocks.org/index.php?title=Internationalization (http://wiki.codeblocks.org/index.php?title=Internationalization) ?
It's a litlle bit outdated, but extraction should work.
The batch-file can easily be adapted for linux.
To fetch all strings use also "-k_T" as option for "xgettext".
No changes to sourcecode have to be made.

Try "/usr/share/codeblocks/locale/[your_language]" (for german I use "/usr/share/codeblocks/locale/de_DE/codeblocks.mo") .
Title: Re: Code::Blocks' translation
Post by: gd_on on September 28, 2008, 10:25:25 am
Thanks jens, I will try this.
I know "Internationalization" on the Wiki but I thought I could not use it because I don't have wxrc. But, finally I have found it's sources in wxwidgets install folder. So may be ... But, the batch file needs a serious update.
Nevertheless, it could be better if launchpad site was updated. Like this, translation work can be shared.

For the location of codeblocks.mo under Redhat pro 4.7, I tried both solutions (with fr_FR in my case), but without success. The strange thing is that it worked with Redhat pro 5 !

Gd_on
Title: Re: Code::Blocks' translation
Post by: jens on September 28, 2008, 10:42:47 am
I don't know the package layout of Redhat, but on debian (I use the packages from wxwidgets.org) "wxrc" is in package "wx-common".
Title: Re: Code::Blocks' translation
Post by: gd_on on September 28, 2008, 07:48:07 pm
My main machine is on Windows (Linux is at work, and I'm only a simple user, not an admin !!!)
Well, but on Windows XP (SP3), I have in my wxwidget install folder in utils\wxrc a source for wxrc and a .dsp file that I imported in C::B. Compilation is OK (but a few warnings). But at link time its says ld.exe cannot find -lwxbase28u_xml. So I suppose I need to build that library (or that dll), but I have not found how to do this. May be there is somewhere in the install folder a makefile or something else to build this wxrc.exe and all dll needed, but I have not found it.
I also tried to find on the web a wxrc.exe ready to use, but without success.

gd_on
Title: Re: Code::Blocks' translation
Post by: jens on September 28, 2008, 09:23:44 pm
I have only wx2.8.9 available, so with 2.8.8 it might differ, but I don't think so.

If you have wxWidgets build yourself it's quite easy:


If you put "wxrc.exe" somewhere in your searchpath (e.g. MingW's bin directory) you should be able to use it from any folder.
Title: Re: Code::Blocks' translation
Post by: gd_on on September 29, 2008, 08:04:49 pm
That's OK now. Thanks.
I had a few problems because there was a sh.exe in my MinGW\bin folder, causing a conflict (or an other problem) in the makefile. But after renaming it in shxxx.exe, it's ok.
A simple test on a few .xrc files gave me strings with a quite good look, so I think I can go further now....

gd_on
Title: Re: Code::Blocks' translation
Post by: gd_on on October 04, 2008, 04:47:28 pm
I have built an updated version of the .pot file, used to localize Code::Blocks. Here, chains have been extracted from SVN 5241.
To built it, I have made a compromise between intl.bat, found on the wiki (Internationalization, see earlier) and the file extract.bash found on Code::Block SVN (in i18n folder).
On my Windows PC, as in SVN file, extract.bash is launched by an extract.bat file (but it's easy to have a pure .bat file, without bash !).
To use this .bash file on Windows, you need :
- bash.exe (a tool from bash Msys, found with MinGW32 on sourceforge)
- grep.exe, xargs (tools from Msys Core, found with MinGW) : the version I have does not support -P option (as used in extract.bash from i18n folder from Code::Blocks SVN), so I have to use it twice, first to work on .cpp files, and then on .h files separately)
- find.exe (a tool in findutils, found with MinGW)
- xgettext, msgcat (tools from gettext, found with MinGW but also with poedit software) : I use only the --keyword=_ option, and not --keyword=_T because I think that only the first type of strings (those beginning only by _), need to be translated, not  the second one (but may be I'm wrong !).
- wxrc (you can build it from wxWidgets, using the makefile.gcc found in wxWidgets\utils\wxrc (thanks to jens ! for helping me on that point). Wxrc uses wxmsw28u_gcc_cb.dll (or by default wxmsw28u_gcc_custom.dll depending how you customize config.gcc in wxWidgets\build\msw).
- poedit to translate and build the .mo file.

I copied .bat and .bash file within my codeblocks_svn folder at the same level than i18n folder. I called this folder i18n_gd (but it can be an other name).
Executables bash, grep, find, xgettext, msgcat, some libraries (.dll) used by xgettext (but found in the same folder than poedit), wxrc, wxmsw28u_gcc_cb.dll (or wxmsw28u_gcc_custom.dll), must be accessed with your path environment variable (in my case, I have a C:\MinGW\bin folder, declared within path, where all theses executables are put).
In my i18n_gd folder, I execute extract.bat. At the end, I obtain an All_codeblocks.pot file with all extracted character chains that may be translated. Don't worry if you see a few (many  :() warnings. It's not very important.
I had also to delete a few lines, in the .pot file, containing "#, c-format" (without quotes) because, in poedit, some strings were not correctly interpreted when building .mo file.
wxrc extract also some chains with a beginning $$, thought it should certainly be $ (not double $).
Those 2 operations are done manually on the pot file in a text editor. This could certainly be done automatically, using some tool !!!

With poedit, you can then merge this .pot file with a previous codeblocks.po file (after saving the initial versions, one never knows !).

It works quite well, but I'm not totally satisfied with the result, because :
- I think that some character chains do not need to be translated, but are extracted anyway (especially some ones found in .xrc resource files) ;
- when merging in poedit, some strings have slightly changed from the previous .po file and poedit does not always make the good choice, but anyway consider them as approximate translations. The problem, is that those strings do not appear as translated in the .mo file, and it's frustrating because it's a sort of regression compared to the previous .mo file where they were correctly translated.
- some operations are still manual (changing $$ by $, and suppressing "#, c-format" lines).

Anyway, I think the result is quite good, but now there is a great work to verify, update and translate new strings.

If it was possible to merge this .pot file with the previous one on launchpad site, it could be easier to share the translation work.

In the different zip files, you'll find the .bat and .bash files, the file All_codeblocks.pot obtained, and a preversion of All_codeblocks.po file for French (there are still more than 900 strings to verify and/or translate !!!). :shock:

gd_on


[attachment deleted by admin]
Title: Re: Code::Blocks' translation
Post by: gd_on on October 04, 2008, 04:52:01 pm
Oops ! My third file is too big for the previous post. May be ....

Gd_on

[attachment deleted by admin]
Title: Re: Code::Blocks' translation
Post by: gd_on on October 16, 2008, 10:01:48 pm
OK. It seems very few persons are interested (1 download !!! :( )
Never mind, I continue. 8) 8) 8)
I have made new versions of the raw .pot file, and french .po and .mo files.
The tool, used to replace extract.bat and extract.bash in folder i18n (from svn) is here (http://pagesperso-orange.fr/thunderbird-noia2/i18n_GD.7z). It's the same as in a previous post describing the "How to" : http://forums.codeblocks.org/index.php/topic,1022.msg66337.html#msg66337 (http://forums.codeblocks.org/index.php/topic,1022.msg66337.html#msg66337)
The .pot file extracted from svn 5273 is  here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_5273_081016.7z).
The .po and .mo file extracted from svn 5273 and partially translated in French is  here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr__5273_081016.7z).
There is a total of 4795 character chains in the .pot file. In .po and .mo french files 318 are not translated and 5 are marked as approximately translated (As I don't use them currently :x, I'm not sure of the exact signification  :shock:). As you can see, we are very far from launchpad web site where there is "only" 2173 characters chains. Many work has been made by developpers. Thanks to them...To be honest, not all chains need to be translated, so the real number is less than 4795. :o

gd_on
Title: Re: Code::Blocks' translation
Post by: jfouche on October 17, 2008, 01:37:01 pm
OK. It seems very few persons are interested (1 download !!! :( )
It was me ;)

I read it, and didn't find errors, but as you know, it is a huge file. And I don't read the whole file in 1 time. I will continue to check your translation.

Good luck
--
Jérémie
Title: Re: Code::Blocks' translation
Post by: gd_on on October 17, 2008, 04:30:25 pm
Thanks. Look at the last files. It's better (I hope  :D)
But the base is the work found on launchpad. So, all is not my own work. Many guys have also contributed, but if their names are in Launchpad, they are not listed here in the .po file (and .mo of course). Sorry. :?

gd_on
Title: Re: Code::Blocks' translation
Post by: blend on October 30, 2008, 09:41:29 am
I have installed your translation. This seems to be pretty good :)

There are just some strings I wouldn't have translated the same way:
 -(in "Extensions") Gestion des plugins -> Gérer les extensions instead of "Gestion des plugins" (why use "Extension" and "plugins"? Just use "Extensions" :) ),
 -(in the plugin manager) "Si un plugin est mal écrit, il peut faire planter Code::Blocks when performing any operation on it..." -> "Si une extension est défectueuse, celle-ci peut faire planter Code::Blocks lors de son usage..."

 -(in "Paramètres") "Compilateur et débugger" -> "Compilateur et débogueur" (typo),
 -(in the dialog box accessed via "Paramètres->Edition de scripts" sripts instead of scripts (caption typo),
 -(in "Paramètres") the string "Edit startup script" have not been translated I propose "Editer le script de démarrage",
 -(in "Paramètres->Environnement->Paramètres généraux") "Ne permet l'éxecution..." -> "Ne permettre l'éxecution...",
 -(in "Fichier") "Import project" -> "Importer un projet"
 -(in "Edition") "Mode surlignage" -> "Mode de coloration"
  "Commentaire" -> "Commenter"
  "Uncomment" -> "Dé-commenter"
  "Stream comment" -> "Placer la sélection en commentaire"
  (in the compiler options) "Replier tous les symboles..." -> "Retirer tous les symboles..."

If I find other things to report I will do it.

Anyway, it's good to see Code::Blocks translated in french :)
I hope Code::Blocks will be translated in others languages as there are lot of people who doesn't like Code::Blocks (and go to MS VS) because it is not translated into their language...
Title: Re: Code::Blocks' translation
Post by: gd_on on October 30, 2008, 05:25:45 pm
Thanks four your remarks.
I have included some of them (and some others) in my new versions (see below). As you know, many translations were already present on launchpad. So, a few inconsistencies are quite normal between translators.
OK for "Extensions" instead of plugins. Many corrections have been made in the .po file.
For "Import project", it's not my fault ! It was a problem in C::B because the string was identified by a _T and not a single _ . So this string is not translatable. Nevertheless, this has been corrected by "killerbot" and is available on svn (but apparently not in the last compiled nightly for Windows). Similar problem for the sentence beginning in French and ending in English. Here too, correction made by "killerbot".
For "Edist startup script", I agree with you and I had translated like that, but I seems this strings is not translatable (so, it has been eliminated by poedit. May be a _T here too and not a single _, but I'm not sure !
For "Mode surlignage", I prefer to keep my own word:
1) because there are other "surligner" elsewhere
2) I think "coloration" may be confused with "Colorisation", a word which is good for syntax highlighting. Here, in the usage context, it's more something to show selected words to the user, by a specific colorization (text and background), that's true, but "surligner" seems better for me.

Updated version of the tool is here (http://pagesperso-orange.fr/thunderbird-noia2/i18n_GD.7z). Need also sed tool. You'll find also a specific tool for windows (no bash need, but always MinGW supplementary tools as find, xargs, xgettext, sed,...).
Updated version of the .pot file, for svn 5295 is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_5295_081030.7z) : the raw extracted strings.
Updated version of the .po and .mo files, partially translated in French are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_5295_081030.7z).

It could be better to update the .pot file on launchpad site, but I have not any idea how to do that, even if I can do that.

gd_on
Title: Re: Code::Blocks' translation
Post by: blend on October 30, 2008, 07:23:21 pm
Good job :) !

Now, C::B devers must do a step too... Please update .pot files on lunchpad and fix what need it! Would be much more easy for everybody :) .
I've downloaded PoEdit, I understand now why translating an app' is so hard... I will try to bring my contribution to the translation effort.

ps:  Why not create (a) translators team(s) by the way?
Title: Re: Code::Blocks' translation
Post by: gd_on on November 12, 2008, 07:22:24 pm
A few updates to the .pot file extracted from svn 5309 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_5309_081112.7z).
Translation in French, also updated from svn 5309 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_5309_081112.7z).
No changes to the extracting tools. see previous post.

gd_on
Title: Re: Code::Blocks' translation
Post by: Xaviou on January 26, 2009, 10:12:08 am
Hi all.

I've tested this french translation, and it works fine : thanks !

There are some improvements to make to the C::B source to make it perfect  (I don't know if it is the right place to report this) :

First, the "New class wizard" doesn't works properly : when adding a new class witch inherits from another, the "scope" keyword (public, protected or private) is translated (but of course it shouldn't). This appends only for the scope keyword, not inside the class declaration.
For example, creating a class B inherited from a class A should be :
Code: [Select]
class B : public A
{
public:
B();
virtual ~B();
protected:
private:
};
But with the french translation, the code generated is :
Code: [Select]
class B : publique A
{
public:
B();
virtual ~B();
protected:
private:
};

Then, I think that the "Start here" page should also be translated. And for now, the only way to do this is editing the corresponding html file, and replacing the following texts :
And even when doing this, it is not fully translated : the "Recent projects" and "Recent files" titles stay in english.

Neverless, great work, gd_on, for the french translation ;)

Regards
Xav'

Title: Re: Code::Blocks' translation
Post by: gd_on on January 27, 2009, 09:42:05 am
You are certainly right. These setting must not be translated here.

In the code, I think its in src/plugins/contrib/wxSmith/wxwidgets/wxsnewwindowdlg.cpp at lines 210, 212 or 214, they are initialized with the macro _, which means they can be translated, which is normal if it's used only to identify a button or something else to be displayed in the graphic user interface. Obviously, it's also used to generate code, and of course, it must not be translated. The author of this plugin should probably use here the macro _T and not _.
In the next French version, I will correct this (in fact do a workaround), simply by duplicating the English words in the French translation.

Thanks for having pointed this problem.

gd_on
Title: Re: Code::Blocks' translation
Post by: MortenMacFly on January 27, 2009, 11:06:39 am
I think its in src/plugins/contrib/wxSmith/wxwidgets/wxsnewwindowdlg.cpp at lines 210, 212 or 214
This is not it. This code is in no way releated to the class wizard. Nevertheless - the line of code you are referring to is here:
classwizarddlg.cpp, line 321:
Code: [Select]
    m_AncestorScope    = XRCCTRL(*this, "cmbInheritanceScope", wxComboBox)->GetValue();
classwizarddlg.cpp, line 435-438:
Code: [Select]
    if (m_Inherits)
    {
        buffer << _T(" : ") << m_AncestorScope << _T(" ") << m_Ancestor;
    }
As you see: The name is obtained via XRC. In fact I have no idea why it gets translated...?!

BTW: I realised that the class wizard features certain dialogs (message boxes) without translation - but that's another story... ;-)
Title: Re: Code::Blocks' translation
Post by: jens on January 27, 2009, 11:43:24 am
As you see: The name is obtained via XRC. In fact I have no idea why it gets translated...?!

Because the .xrc have been scanned  with wxrc to find textes to translate and they got translated.

The same happened for other keywords:

Quote
#: plugins_xrc.cpp:63
msgid "private"
msgstr "privé"

Quote
#: plugins_xrc.cpp:62
msgid "protected"
msgstr "protégé"

Quote
#: plugins_xrc.cpp:61
msgid "public"
msgstr "publique"

In the next French version, I will correct this (in fact do a workaround), simply by duplicating the English words in the French translation.

If I remember right, it should be enough to leave the translated part (msgstr) empty.

By the way, this one is much more dangerous, because it breaks layout saving and/or loading:
Quote
#: ../src/main.cpp:1238
#: ../src/main.cpp:1257
msgid "state=%d"
msgstr "État = %d"
Title: Re: Code::Blocks' translation
Post by: MortenMacFly on January 27, 2009, 11:51:41 am
Because the .xrc have been scanned  with wxrc to find textes to translate and they got translated.
WTF... And I guess there is no way in a XRC file to exclude strings from translation, right?! Or can I use the _() and _T() macros there, too?!

In any ways: If I use e.g. xrced I don't see an option accordingly - so in practice it would mean hand crafted manipulation. :-(
Title: Re: Code::Blocks' translation
Post by: stahta01 on January 27, 2009, 02:04:55 pm
Because the .xrc have been scanned  with wxrc to find textes to translate and they got translated.
WTF... And I guess there is no way in a XRC file to exclude strings from translation, right?! Or can I use the _() and _T() macros there, too?!

In any ways: If I use e.g. xrced I don't see an option accordingly - so in practice it would mean hand crafted manipulation. :-(

From http://biolpc22.york.ac.uk/wx/docs/html/faqcmn.htm#xrclocale
Quote
translate="0" attribute in XRC files
Turns it off for whole xrc file which might work sometime. But, most likely not all the time.
Tim S
Title: Re: Code::Blocks' translation
Post by: gd_on on January 27, 2009, 08:02:44 pm
Quote
Quote
In the next French version, I will correct this (in fact do a workaround), simply by duplicating the English words in the French translation.

If I remember right, it should be enough to leave the translated part (msgstr) empty.

True, but I prefer to duplicate English words to be sure that these words have been intentionally put here (and intentionally not translated), and it's not something forgotten or a sentence I don't totally understand.

Quote
By the way, this one is much more dangerous, because it breaks layout saving and/or loading:
Quote
#: ../src/main.cpp:1238
#: ../src/main.cpp:1257
msgid "state=%d"
msgstr "État = %d"
I don't understand the exact problem. In /src/main the author make a difference between "state=" and "state=%d", using the macro _T for the first case and the macro _ for the second one. So I suppose he wants the second one to be translatable !

Also, it's true that when using wxrc to scan for translatable characters chains in xrc files, I find many many strings. A lot of them have to be translated, but a few ones don't need to. More, it could be an error to do so, as shown by this reported problem. But, how can I do ? Not obvious  :( :(

gd_on
Title: Re: Code::Blocks' translation
Post by: gd_on on January 28, 2009, 07:16:42 pm
A few updates to the .pot file extracted from svn 5421 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_5421_090128.7z).
Translation in French, also updated from svn 5421 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_5421_090128.7z).
Problems mentioned above about words "public, private, protected" are corrected (intentionally not translated).
No changes to the extracting tools. See previous posts here particularly (http://forums.codeblocks.org/index.php/topic,1022.msg66994.html#msg66994) or/and here (http://forums.codeblocks.org/index.php/topic,1022.msg66337.html#msg66337).

gd_on
Title: Re: Code::Blocks' translation
Post by: Xaviou on January 31, 2009, 10:51:16 am
Hi

Problems mentioned above about words "public, private, protected" are corrected (intentionally not translated).
Works fine : thanks ;)

Nothing about the "Start here" page ?

Regards
Xav'
Title: Re: Code::Blocks' translation
Post by: Xaviou on February 03, 2009, 11:26:47 pm
@gd_on : Hey ! I've tested your extracting tool (extract.cmd) : it works fine !  Goog job !

@cb devs : I found a few "_T" to "_" macros replacements to improve Code::Blocks translations.
Do I have to :

Regards
Xav'
Title: Re: Code::Blocks' translation
Post by: MortenMacFly on February 04, 2009, 08:44:41 am
  • submit a patch (I'm not used with that, but I think I'll find how to ;) ) ?
That would be fine.
Title: Re: Code::Blocks' translation
Post by: Xaviou on February 05, 2009, 11:14:59 pm
So, here is a first one : wasn't so hard to do as I thought :)

A lot of things in this patch concern the ThreadSearch Plugin. It seems that the interface code whas been auto-generated by wxGlade, it's why it contains a lot of "wxT" instead of "_". I'm afraid that next update of this plugin will replace the corrected macros by the _T one.

Regards

Xav'

[attachment deleted by admin]
Title: Re: Code::Blocks' translation
Post by: dje on February 05, 2009, 11:51:23 pm
A lot of things in this patch concern the ThreadSearch Plugin. It seems that the interface code whas been auto-generated by wxGlade, it's why it contains a lot of "wxT" instead of "_". I'm afraid that next update of this plugin will replace the corrected macros by the _T one.
I'll see  :)
I will apply a patch to spare place for small screen.
But my approach is to generate files in a temporary directory and then merge the graphical stuff so my code is not modified. That's why I think it should work, unless you propose a patch for this tool  :wink:

Dje
Title: Re: Code::Blocks' translation
Post by: Xaviou on March 05, 2009, 11:52:03 pm
Hi.

Here is a patch for the translation of the "Start here" page.
Not sure it is the best way to do this, but it works...
Code: [Select]
Index: src/src/main.cpp
===================================================================
--- src/src/main.cpp (révision 5480)
+++ src/src/main.cpp (copie de travail)
@@ -1861,7 +1861,7 @@
     wxString buf = event.GetString();
     wxString links;
 
-    links << _T("<b>Recent projects</b><br>\n");
+    links << _("<b>Recent projects</b><br>\n");
     if (m_pProjectsHistory->GetCount())
     {
         links << _T("<ul>");
@@ -1877,7 +1877,7 @@
     else
         links << _T("&nbsp;&nbsp;&nbsp;&nbsp;No recent projects<br>\n");
 
-    links << _T("<br><b>Recent files</b><br>\n");
+    links << _("<br><b>Recent files</b><br>\n");
     if (m_pFilesHistory->GetCount())
     {
         links << _T("<ul>");
@@ -1896,6 +1896,11 @@
 
     // update page
     buf.Replace(_T("CB_VAR_RECENT_FILES_AND_PROJECTS"), links);
+ buf.Replace(_T("CB_TXT_NEW_PROJECT"), _("Create a new project"));
+ buf.Replace(_T("CB_TXT_OPEN_PROJECT"), _("Open an existing project"));
+ buf.Replace(_T("CB_TXT_VISIT_FORUMS"), _("Visit the Code::Blocks forums"));
+ buf.Replace(_T("CB_TXT_REPORT_BUG"), _("Report a bug"));
+ buf.Replace(_T("CB_TXT_REQ_NEW_FEATURE"), _("Request a new feature"));
     ((StartHerePage*)sh)->SetPageContent(buf);
 }
 
Index: src/src/resources/start_here/start_here.html
===================================================================
--- src/src/resources/start_here/start_here.html (révision 5480)
+++ src/src/resources/start_here/start_here.html (copie de travail)
@@ -27,29 +27,27 @@
 <tr>
 <td><a href="CB_CMD_NEW_PROJECT"><img style=
 "width: 47px; height: 42px;" alt="" src="new.png"></a></td>
-<td><a href="CB_CMD_NEW_PROJECT">Create a new project</a></td>
+<td><a href="CB_CMD_NEW_PROJECT">CB_TXT_NEW_PROJECT</a></td>
 </tr>
 <tr>
 <td><a href="CB_CMD_OPEN_PROJECT"><img style=
 "width: 47px; height: 47px;" alt="" src="open.png"></a></td>
-<td><a href="CB_CMD_OPEN_PROJECT">Open an existing project</a></td>
+<td><a href="CB_CMD_OPEN_PROJECT">CB_TXT_OPEN_PROJECT</a></td>
 </tr>
 <tr>
 <td width="56" rowspan="4"><img alt="" src="www.png"></td>
 </tr>
 <tr>
-<td><a href="http://forums.codeblocks.org/">Visit the Code::Blocks
-forums</a></td>
+<td><a href="http://forums.codeblocks.org/">CB_TXT_VISIT_FORUMS</a></td>
 </tr>
 <tr>
 <td><a href=
-"http://developer.berlios.de/bugs/?func=addbug&amp;group_id=5358">Report
-a bug</a></td>
+"http://developer.berlios.de/bugs/?func=addbug&amp;group_id=5358">CB_TXT_REPORT_BUG</a></td>
 </tr>
 <tr>
 <td><a href=
 "http://developer.berlios.de/feature/?func=addfeature&amp;group_id=5358">
-Request a new feature</a></td>
+CB_TXT_REQ_NEW_FEATURE</a></td>
 </tr>
 </table>
 </td>

And here is a link to an archive containing the modified revision 5480 including the french language file (if someone is interested for testing) :
CB_20090304_rev5480_win32_fr.7z (http://www.archive-host.com/compteur.php?url=http://codeblocks.archive-host.com/CB_20090304_rev5480_win32_fr.7z)

Regards

Xav'

[attachment deleted by admin]
Title: Re: Code::Blocks' translation
Post by: gd_on on March 08, 2009, 06:54:50 pm
A few updates to the .pot file extracted from svn 5481 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_5481_090308.7z).
Translation in French, also updated from svn 5481 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_5481_090308.7z).
Works if Xaviou's patches for translation are installed (adding 2 missed items : file name and file path).
No changes to the extracting tools. See previous posts here particularly (http://forums.codeblocks.org/index.php/topic,1022.msg66994.html#msg66994) or/and here (http://forums.codeblocks.org/index.php/topic,1022.msg66337.html#msg66337).

gd_on
Title: Re: Code::Blocks' translation
Post by: GeO on June 17, 2009, 05:51:11 pm
Since the Class Wizard translation is still not fixed i wrote a little workaround that should work
with every language:
In src\plugins\classwizard\classwizarddlg.cpp on line 322 replace
Code: [Select]
m_AncestorScope    = XRCCTRL(*this, "cmbInheritanceScope", wxComboBox)->GetValue();with this
Code: [Select]
int scope = XRCCTRL(*this, "cmbInheritanceScope", wxComboBox)->GetCurrentSelection();
switch (scope)
{
case 0:
    m_AncestorScope = _T("public");
    break;
case 1:
    m_AncestorScope = _T("protected");
    break;
case 2:
    m_AncestorScope = _T("private");
    break;

default:
    break;
}
Greets GeO
Title: Re: Code::Blocks' translation
Post by: gd_on on August 24, 2009, 09:18:20 pm
A few updates to the .pot file extracted from svn 5742 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_5742.7z).
Translation in French, also updated from svn 5742 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_5742.7z). It contains 5101 character chains, but there are still 254 which are not translated : I don't know exactly how to translate them (even if I understand what they globally mean  :?). So, if somebody has some suggestions don't hesitate to mail them. :)
Small changes to the extracting tool here (http://pagesperso-orange.fr/thunderbird-noia2/i18n_GD.7z). See also previous posts here particularly (http://forums.codeblocks.org/index.php/topic,1022.msg66994.html#msg66994) or/and here (http://forums.codeblocks.org/index.php/topic,1022.msg66337.html#msg66337) to understand how it works and/or to install it.

gd_on
Title: Re: Code::Blocks' translation
Post by: Leo.J90 on September 08, 2009, 04:42:22 pm
What happend with the spanish translation? is anybody working on it? because i have now time to do it. :D
Title: Re: Code::Blocks' translation
Post by: gd_on on November 15, 2009, 05:51:54 pm
A few updates to the .pot file extracted from svn 5914 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_5914.7z).
Translation in French, also updated from svn 5914 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_5914.7z). It contains 5191 character chains, but there are still 148 which are not translated : I don't know exactly how to translate them (even if I understand what they globally mean  :?). So, if somebody has some suggestions don't hesitate to mail them. :)
The extracting tool is here (http://pagesperso-orange.fr/thunderbird-noia2/i18n_GD.7z). It is different than the one provided in I18n svn sub folder : it produces a monolithic file for all chains, but it also analyses .xrc files which contains many chains to be translated. Unfortunately, in those files, there are no differences between chains that need a translation and chains that don't need to (or must not) be translated. So, translators must be aware of this particularity. I think in this case, the best solution is simply to copy "english" words to the translated chains. Like this, you are sure that you intentionally put them here and it's not a forgotten or still not translated character chain.
See also previous posts here particularly (http://forums.codeblocks.org/index.php/topic,1022.msg66994.html#msg66994) or/and here (http://forums.codeblocks.org/index.php/topic,1022.msg66337.html#msg66337) to understand how it works and/or to install it.

gd_on
Title: Re: Code::Blocks' translation
Post by: Denro on February 10, 2010, 01:44:15 am
hi,
i did download a translation file for german
i did install it to the locale folder and selected it in C::B
it did work c::b was in german

but somehow my custom syntax highlight settings were broken after this :(
i had a black background and white forderground in bat and c files definied in syntax high lighter
but after all was german the black background was gone!
it did still show the same settings in the options but not in the editor
i thoght something with the settings is broken so i did try to set the black background again ( i did set to a other color and then set again to black)
but still the background was white
so i did disable the localisation in the enviroment settings and like magic the background was black again
so somehow when i use german translation i cant set or use a black background in the editor
but if i disable localisation it works like a charm

so i guess something with the german translation is not well!
they say its 100% translated and it looks also so... but it is eating my black background in the editor somehow :(

so now i use again in english
i guess as long i like black background i cant use a german translation :(
and because of that i dont beleave that it is 100% ready for use :(

maybe someone here can use this feedback(?)
and maybe fix this (how ever) :D

edit:
i did download the mo and te other file and in the enviroment settings i only see german ... i dont know which file i use ... i guess its the mo file
Title: Re: Code::Blocks' translation
Post by: MortenMacFly on February 10, 2010, 06:39:41 am
maybe someone here can use this feedback(?)
The only thing I can imagine is that a keyword is being translated which originates in editorcolourset.cpp or alike. This can happen. Can you post the (readable) translation (ZIPPED) here so I can have a look for the translation of said (and probably other relevant) files)?
Title: Re: Code::Blocks' translation
Post by: Denro on February 10, 2010, 07:23:50 pm
i did use the official C:B download from sourceforge
codeblocks-8.02mingw-setup.exe 28 Feb 2008 19.3 MB Sourceforge (http://downloads.sourceforge.net/codeblocks/codeblocks-8.02mingw-setup.exe) or BerliOS (http://prdownload.berlios.de/codeblocks/codeblocks-8.02mingw-setup.exe)
i did download the files for german translation which i add to this ost as zip

i did install the translation file to C:\Program Files\CodeBlocks\share\CodeBlocks\locale\de_DE

c:b was translated to german

i did a syntax highlight setting also added to next posting...

in c.b english all is ok

in c.b translated german the background of syntax is white instead of black
some parts of the background were black but the main background was white but in the configuration..
settings>editor>syntax highlight all colors were as i whish them but in the editor and in the preview they were not as i whish them ... but the color choosers was telling me that background is black ... but the display was looking white

i hope this will help ... if i can provide more information just tell me....
if i should test something just tell me exactly what to do...
:D


[attachment deleted by admin]
Title: Re: Code::Blocks' translation
Post by: Denro on February 10, 2010, 07:25:58 pm
here also the other files...


[attachment deleted by admin]
Title: Re: Code::Blocks' translation
Post by: fantasticfears on March 19, 2010, 02:44:44 pm
er , shall we contain language files in binary release? or collect all po and mo files in somewhere
Title: Re: Code::Blocks' translation
Post by: Dagobert_78 on March 28, 2010, 12:14:57 am
Hi All.

How to use de french translation files (under Windows XP) ?

thx

[Removed non-english content (this forum is english-only).]
Title: Re: Code::Blocks' translation
Post by: Xaviou on March 28, 2010, 02:19:33 pm
Hi Dagobert

You need to download the ".mo" file(s).
Go to your Code::Blocks install dir, in the "share\CodeBlocks" sub folder.
Create a folder named "locale" if it does not exists.
In this folder, create another one named "fr_FR", and put the ".mo" file(s) in it.

So, your ".mo" file(s) should be in "Code::Blocks install dir\share\CodeBlocks\locale\fr_Fr".

Then, launch Code::Blocks, go in the "Settings", "Environment" menu.
In the appearing box, select "View" in the left list, check the "Internationalization" check-box, and select "French" in the list.

Now, restart Code::Blocks, and it should be translated in French.

Regards

Xav'
Title: Re: Code::Blocks' translation
Post by: fantasticfears on March 30, 2010, 07:48:26 am
maybe we can try translatewiki (http://translatewiki.net/wiki/Main_Page)?
Title: Re: Code::Blocks' translation
Post by: gd_on on July 20, 2010, 09:29:02 pm
A few updates to the .pot file extracted from svn 6400 are here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_6400.7z).
Translation in French, also updated from svn 6400 in the .po and .mo file is here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_fr_6400.7z). It contains 5501 character chains, but there are still 59 which are not translated : I don't know exactly how to translate them (even if I understand what they globally mean  :?), or had not enough time before holidays  :P. So, if somebody has some suggestions don't hesitate to mail them. :)
The extracting tool is here (http://thunderbird-noia2.pagesperso-orange.fr/i18n_GD.7z). It is different than the one provided in I18n svn sub folder : it produces a monolithic file for all chains, but it also analyses .xrc files which contains many chains to be translated. Unfortunately, in those files, there are no differences between chains that need a translation and chains that don't need to (or must not) be translated. So, translators must be aware of this particularity. I think in this case, the best solution is simply to copy "english" words to the translated chains. Like this, you are sure that you intentionally put them here and it's not a forgotten or still not translated character chain.
See also previous posts here particularly (http://forums.codeblocks.org/index.php/topic,1022.msg66994.html#msg66994) or/and here (http://forums.codeblocks.org/index.php/topic,1022.msg66337.html#msg66337) to understand how it works and/or to install it.

gd_on
Title: Re: Code::Blocks' translation
Post by: razmus on August 11, 2010, 02:40:12 pm
Hi everyone!
I downloaded the file Russification *. mo
put it in \ share \ CodeBlocks \ locale \ ru
Have set Settings \ Environment \ View \
check the box internationalization and chose Russian, restart the program.
But the language was English ...
Help please
Title: Re: Code::Blocks' translation
Post by: kisoft on August 13, 2010, 03:12:07 pm
I downloaded the file Russification *. mo
put it in \ share \ CodeBlocks \ locale \ ru
use subdirectory "ru_RU" instead "ru"
See post Xaviou from 28 March 2010, 16:19:33
Good Luck!
If it can't help, email me in russian.
Title: Re: Code::Blocks' translation
Post by: gd_on on September 02, 2010, 11:50:12 am
A few updates to the .pot file extracted from svn 6564 are here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_6564.7z).
Translation in French, also updated from svn 6564 in the .po and .mo file is here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_fr_6564.7z). It contains 5726 character chains, but there are still 53 which are not translated : I don't know exactly how to translate them (even if I understand what they globally mean  :?) . So, if somebody has some suggestions don't hesitate to mail them. :)

Important : You should update the French translation to avoid problems (crash or malfunctioning) with EditorTweaks plugin.  French users but also translators in other languages should have a look at discussions starting here (http://forums.codeblocks.org/index.php/topic,13169.msg88698.html#msg88698) and here (http://forums.codeblocks.org/index.php/topic,13216.msg88823.html#msg88823)

The extracting tool is here (http://thunderbird-noia2.pagesperso-orange.fr/i18n_GD.7z). It is different than the one provided in I18n svn sub folder : it produces a monolithic file for all chains, but it also analyses .xrc files which contains many chains to be translated. Unfortunately, in those files, there are no differences between chains that need a translation and chains that don't need to (or must not) be translated. So, translators must be aware of this particularity. I think in this case, the best solution is simply to copy "english" words to the translated chains. Like this, you are sure that you intentionally put them here and it's not a forgotten (or still not translated) character chain.
See also previous posts here particularly (http://forums.codeblocks.org/index.php/topic,1022.msg66994.html#msg66994) or/and here (http://forums.codeblocks.org/index.php/topic,1022.msg66337.html#msg66337) to understand how it works and/or to install it.

gd_on
Title: Re: Code::Blocks' translation
Post by: gd_on on September 21, 2010, 01:47:01 pm
Hi,
small problem with translation on some window titles. Though they are translated in the .po and .mo files they don't always are displayed in the chosen language. This is the case, for examples, for "Management", "Logs & others" and "Open files list".
If you open C::B for the 1srt time, they are in English and stay in English even if you switch to another language (French for example).
More, if you have switched to French (for example), close C::B, delete the file default.conf, and reopen C::B, they appear that time, as all other items, in French. Nevertheless, if you switch back to English, those 3 items stay in French.
I think it's because those strings are coded inside default.conf and not updated when switching the language.

This happen with last svn version (6620), but is not new, and both with Windows and Linux.

gd_on
Title: Re: Code::Blocks' translation
Post by: sergamena on October 31, 2010, 05:01:14 pm
I didn't get it: from where I should download .pot file?
Title: Re: Code::Blocks' translation
Post by: sergamena on October 31, 2010, 05:10:08 pm
Post a direct link please.
Title: Re: Code::Blocks' translation
Post by: gd_on on October 31, 2010, 07:55:31 pm
Look at some previous post. You'll find some .pot files, not the last ones, but quite recent (for example in http://forums.codeblocks.org/index.php/topic,1022.msg88942.html#msg88942 search for the word Here, it's a direct link). Also, you can contact Xaviou. Send him a PM (Personal messages). He has also .pot files and some other partly translations files available.

gd_on
Title: Re: Code::Blocks' translation
Post by: nanyu on November 01, 2010, 05:02:46 am
Hi,
small problem with translation on some window titles. Though they are translated in the .po and .mo files they don't always are displayed in the chosen language. This is the case, for examples, for "Management", "Logs & others" and "Open files list".
If you open C::B for the 1srt time, they are in English and stay in English even if you switch to another language (French for example).
More, if you have switched to French (for example), close C::B, delete the file default.conf, and reopen C::B, they appear that time, as all other items, in French. Nevertheless, if you switch back to English, those 3 items stay in French.
I think it's because those strings are coded inside default.conf and not updated when switching the language.

This happen with last svn version (6620), but is not new, and both with Windows and Linux.

gd_on

It also happend with Chinese .po
Title: Re: Code::Blocks' translation
Post by: gd_on on November 07, 2010, 06:58:41 pm
A few updates to the .pot file extracted from svn 6840 are here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_6840.7z).
Translation in French, also updated from svn 6840 in the .po and .mo file is here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_fr_6840.7z). It contains 5875 character chains, but there are still 47 which are not translated : I don't know exactly how to translate them (even if I understand what they globally mean  :?) . So, if somebody has some suggestions don't hesitate to mail them. :)

The extracting tool is here (http://thunderbird-noia2.pagesperso-orange.fr/i18n_GD.7z). It is different than the one provided in I18n svn sub folder : it produces a monolithic file for all chains, but it also analyses .xrc files which contains many chains to be translated. Unfortunately, in those files, there are no differences between chains that need a translation and chains that don't need to (or must not) be translated. So, translators must be aware of this particularity. I think in this case, the best solution is simply to copy "english" words to the translated chains. Like this, you are sure that you intentionally put them here and it's not a forgotten (or still not translated) character chain.
See also previous posts here particularly (http://forums.codeblocks.org/index.php/topic,1022.msg66994.html#msg66994) or/and here (http://forums.codeblocks.org/index.php/topic,1022.msg66337.html#msg66337) to understand how it works and/or to install it.

New : I have translated in French the Code::Blocks manual available in English and German on C::B site. You'll find a version of the pdf file here (http://thunderbird-noia2.pagesperso-orange.fr/manuel_codeblocks_fr.pdf). It's a compromise between version 1.0 and 1.1 (I have kept the last paragraph of version 1.0 about C:B building/installation). This work has been submitted to reviewers, but is not still approved. So, it may still change.

gd_on
Title: Re: Code::Blocks' translation
Post by: mariocup on November 07, 2010, 09:52:33 pm
Hi gd_on,

I will try to get the document finalized within the next two weeks. Thank you for your translation.

Title: Re: Code::Blocks' translation
Post by: unclepetros on December 09, 2010, 08:43:52 am
Hi,
I've the same problem gd_on mentioned.
I've used the .po file at this link: https://translations.launchpad.net/codeblocks/trunk/+pots/codeblocks/it/+translate
Is it updated?

Because, for example, I see in .po file the string "Open", while in codeblocks I see the string "Open...".
I think the original .po file lacks some recent string:
what's the correct way to add these to the translation?

Should I generate again full .po from sources?

I'm a bit confusing...

Please let me know.

Thank you in advance.

Regards
UnclePetros
Title: Re: Code::Blocks' translation
Post by: gd_on on December 09, 2010, 09:36:03 am
Hi, unclepetros
As said previously, files on launchpad are largely outdated. Obviously, it's not easy to update it. There are also .pot files distributed with svn, but I think that too many strings are missing because some files are not analyzed.
A solution :
download my .pot file (see previous post). It contains all the strings in English. Not too old.
Download and install poedit.
Open your outdated .po file with poedit.
Import/update my .pot file to obtain an updated .po file (3rd menu, 2nd item).
Now you "just" :? have to translate missing strings and/or verify strings marked as "fuzzy". That's a long work, but you have time... :? And you can work with partially translated files.
Save your work and generate a .mo file (first menu, 5th item or second icon button).
An other solution : contact with a PM xaviou. He is working on a "Launchpad like" solution, but updated. He certainly can add an Italian entry, but you'll have to provide translations, built as suggested above with poedit.

gd_on
Title: Re: Code::Blocks' translation
Post by: bluestar on February 24, 2011, 02:14:12 pm
What I don't get is: why is it so complicate to change localization in C::B?? Having to read through all these posting, trying to find links, getting an account on launchpad...

I get that the translation itself is a lot of work, and that it is not easy to get EVERYTHING translated... but could there not be at least an import function in C::B? Or a link from within the program to the launchpad sources for the languages? Or at least an instruction in the help-files? In the documentation?

right now it looks like you have to be a geek to get C::B lokalized... :-(
Title: Re: Code::Blocks' translation
Post by: oBFusCATed on February 24, 2011, 02:31:59 pm
If it is such a problem you could write a wiki page here: http://wiki.codeblocks.org/index.php?title=Main_Page then provide a patch, so a link is added to C::B...
C::B is a community effort and people work on what is interesting to them or bothers them.
So it seems the translation is one of the last items on TODOs :)

p.s. Most devs prefer the IDE/dev tools to be in English. I'll feel very strange if I use a native language translation of C::B or any other IDE. If will be quite unintuitive.
      For normal programs it is OK to be translated, but the specialized software should be English only (also it makes it easier to find solutions in our favorite search engine).
Title: Re: Code::Blocks' translation
Post by: jens on February 24, 2011, 02:42:36 pm
There is already a wiki page:
http://wiki.codeblocks.org/index.php?title=Internationalization (http://wiki.codeblocks.org/index.php?title=Internationalization)
Title: Re: Code::Blocks' translation
Post by: bluestar on February 24, 2011, 05:53:41 pm
@jens: many thanks, that really helps! - Especially since these folders don't exist a priori in the file structure
@oBFusCATed: I understand that translations are not top prio, and not everyone likes to do them. I also understand you prefer english for a compiler IDE... That said, since there IS a translation project AND the Translations seems to be done in some languages (e.g. German), it would be great to have an easy way to add it. It simply gives more people access, making it more popular. Which in turn makes more people likely to donate time/money to the project.

It's ok when the software doesn't come with all latest transaltions.

I am looking at the nice-to-have way: a link to the howto in the Program's description, and maybe a link where to download latest transaltion versions. It seems so near to reach and so much hard work has already been done.

Anyway... great project, great job!
Title: Re: Code::Blocks' translation
Post by: gd_on on March 06, 2011, 07:12:37 pm
A few updates to the .pot file extracted from svn 7041 are here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_pot_7041.7z).
Translation in French, also updated from svn 7041 in the .po and .mo file is here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_fr_7041.7z). It contains 5987 character chains, but there are still 35 which are not translated : I don't know exactly how to translate them (even if I understand what they globally mean  :?) . So, if somebody has some suggestions don't hesitate to mail them. :)

The extracting tool is here (http://thunderbird-noia2.pagesperso-orange.fr/i18n_GD.7z). It is different than the one provided in I18n svn sub folder : it produces a monolithic file for all chains, but it also analyses .xrc files which contains many chains to be translated. Unfortunately, in those files, there are no differences between chains that need a translation and chains that don't need to (or must not) be translated. So, translators must be aware of this particularity. I think in this case, the best solution is simply to copy "english" words to the translated chains. Like this, you are sure that you intentionally put them here and it's not a forgotten (or still not translated) character chain.
See also previous posts here particularly (http://forums.codeblocks.org/index.php/topic,1022.msg66994.html#msg66994) or/and here (http://forums.codeblocks.org/index.php/topic,1022.msg66337.html#msg66337) to understand how it works and/or to install it.

gd_on
Title: Re: Code::Blocks' translation
Post by: gd_on on April 02, 2011, 05:27:35 pm
A few updates to the .pot file extracted from svn 7075 are here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_pot_7075.7z).
Translation in French, also updated from svn 7075 in the .po and .mo file is here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_fr_7075.7z). It contains 6125 character chains, but there are still 57 which are not translated : I don't know exactly how to translate them (even if I understand what they globally mean  :?) . So, if somebody has some suggestions don't hesitate to mail them (or send a PM). :)

The extracting tool is here (http://thunderbird-noia2.pagesperso-orange.fr/i18n_GD.7z). It has been slightly modified from previous version and it is different than the one provided in I18n svn sub folder : it produces a monolithic file for all chains, but it also analyses .xrc files which contains many chains to be translated. Unfortunately, in those files, there are no differences between chains that need a translation and chains that don't need to (or must not) be translated. So, translators must be aware of this particularity. I think in this case, the best solution is simply to copy "english" words to the translated chains. Like this, you are sure that you intentionally put them here and it's not a forgotten (or still not translated) character chain.
See also previous posts here particularly (http://forums.codeblocks.org/index.php/topic,1022.msg66994.html#msg66994) or/and here (http://forums.codeblocks.org/index.php/topic,1022.msg66337.html#msg66337) to understand how it works and/or to install it.

gd_on
Title: Re: Code::Blocks' translation
Post by: gd_on on May 23, 2011, 07:03:46 pm
A few updates to the .pot file extracted from svn 7157 are here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_pot_7157.7z).
Translation in French, also updated from svn 7157 in the .po and .mo file is here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_fr_7157.7z). It contains 6159 character chains, but there are still 54 which are not translated : I don't know exactly how to translate them (even if I understand what they globally mean  :?) . So, if somebody has some suggestions don't hesitate to mail them (or send a PM). :)

The extracting tool is here (http://thunderbird-noia2.pagesperso-orange.fr/i18n_GD.7z). It has been slightly modified from previous version and it is different than the one provided in I18n svn sub folder : it produces a monolithic file for all chains, but it also analyses .xrc files which contains many chains to be translated. Unfortunately, in those files, there are no differences between chains that need a translation and chains that don't need to (or must not) be translated. So, translators must be aware of this particularity. I think in this case, the best solution is simply to copy "english" words to the translated chains. Like this, you are sure that you intentionally put them here and it's not a forgotten (or still not translated) character chain.
See also previous posts here particularly (http://forums.codeblocks.org/index.php/topic,1022.msg66994.html#msg66994) or/and here (http://forums.codeblocks.org/index.php/topic,1022.msg66337.html#msg66337) to understand how it works and/or to install it.

gd_on
Title: Re: Code::Blocks' translation
Post by: gd_on on September 17, 2011, 05:14:16 pm
A few updates to the .pot file extracted from svn 7451 are here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_pot_7451.7z).
Translation in French, also updated from svn 7451 in the .po and .mo file is here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_fr_7451.7z). It contains 6277 character chains, but there are still 27 which are not translated.

see previous posts for other informations.

gd_on
Title: Re: Code::Blocks' translation
Post by: LETARTARE on November 17, 2011, 03:07:01 pm
hello all,
how to translate a 'script plugin' staff?
Sincerely
Title: Re: Code::Blocks' translation
Post by: oBFusCATed on November 17, 2011, 03:19:02 pm
I don't think it is possible. Or at least it is not documented in the Wiki.
Title: Re: Code::Blocks' translation
Post by: LETARTARE on November 17, 2011, 03:42:31 pm
is unfortunate !
//  excuse me  for  What a shame!
Thanks  
Title: Re: Code::Blocks' translation
Post by: gd_on on December 15, 2011, 09:26:28 pm
A few updates to the .pot file extracted from svn 7636 are here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_pot_7636.7z).
Translation in French, also updated from svn 7636 in the .po and .mo file is here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_fr_7636.7z). It contains 6377 character chains, but there are still 38 which are not translated.

see previous posts for other informations.

gd_on
Title: Re: Code::Blocks' translation
Post by: LETARTARE on January 02, 2012, 04:14:35 pm
First of all: Happy New Year ..
@gd_on
A big thank you for this translation.
I choose the French translation for svn 7636. So I bring my contribution to the unfinished parts.
This is a file with your translation difference (cb_po_fr.zip). I'm not much on translations, so it is only a proposal.
I am ready to submit my proposals (French) to each new release.

On the other hand, I submitted to 'Jens' proposal concerning the translation of scripts (plugin or not).
Quote
http://forums.codeblocks.org/index.php/topic,6168.msg105911.html#msg105911
If useful, I can send you the translation elements.


Title: Re: Code::Blocks' translation
Post by: gd_on on January 02, 2012, 08:07:03 pm
Thanks for your propositions.
I'm not sure they are all correct, but it looks quite good.
For "name mangeling" you propose "noms abimés" : this is probably the only case where I don't think it is good.
For me "name mangeling" is the fact that when a subroutine name in Fortran for example is called from C (or C calls a routine written in Fortran), you have to add an underscore to the name of the routine (I don't remember if it's at the beginning or the end of the name). Like that, your subroutine may be called from C and fortran, but not with exactly the same name, and you can mix languages in your code. So, translate this by "abimés", ... ?
But I can't find a good translation for that.

gd_on
Title: Re: Code::Blocks' translation
Post by: LETARTARE on January 03, 2012, 08:56:39 am
As I have said, was to advance in the translation.
I do not know Fortran. But I know the difficulty of translating in unknown context.
Perhaps  "préfixé", "posfixé", 'modifié", "agencé" ...

I remain available if needed.

Are you interested in translating the scripts provided in C::B ?
I made many tests and all work, even the scripts not plugins!
Title: Re: Code::Blocks' translation
Post by: gd_on on February 06, 2012, 07:29:06 pm
A few updates to the .pot file extracted from svn 7782 are here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_pot_7782.7z).
Translation in French, also updated from svn 7782 in the .po and .mo file is here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_fr_7782.7z). It contains 6533 translated character chains.

Thanks to LETARTARE for his help/corrections/suggestions, especially for last translated strings.

see previous posts for other informations.

gd_on
Title: Re: Code::Blocks' translation
Post by: gd_on on March 18, 2012, 04:38:02 pm
Many updates to the .pot file extracted from svn 7900 are here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_pot_7900.7z).
Translation in French, also updated from svn 7900 in the .po and .mo file is here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_fr_7900.7z). It contains 7555 translated character chains. More the 1000 characters strings have been added recently by the merge with SVN wxSmith branch. So there is still some work and certainly errors and/or typos ! Sorry. Don't hesitate to PM or mail me problems.

See previous posts for other informations.

gd_on
Title: Re: Code::Blocks' translation
Post by: gd_on on May 12, 2012, 05:24:43 pm
Updates to the .pot file extracted from svn 7965 are here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_pot_7965.7z).
Translation in French, also updated from svn 7965 in the .po and .mo file is here (http://thunderbird-noia2.pagesperso-orange.fr/All_codeblocks_fr_7965.7z).
There are 7675 character chains. There is still some work to do, not obvious without the context >:(. So, if you meet them and have some propositions, don't hesitate to mail me (or send a PM). 8)

See previous posts for other informations.

gd_on
Title: Re: Code::Blocks' translation
Post by: gd_on on July 07, 2012, 04:56:56 pm
Updates to the .pot file extracted from svn 8093 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_pot_8093.7z).
Translation in French, also updated from svn 8093 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_8093.7z).
There are 7775 character chains. There is still some work to do, not obvious without the context >:(. So, if you meet them and have some propositions, or find errors, don't hesitate to mail me (or send a PM). 8)

See previous posts for other informations.
An updated version of the extraction tool is here (http://pagesperso-orange.fr/thunderbird-noia2/i18n_GD.7z).

gd_on
Title: Re: Code::Blocks' translation
Post by: Wagner de Queiroz on October 04, 2012, 02:49:37 am
Dear peoples,

my name is Wagner de Queiroz and I talk from Brazil, I finish today at lanchpad website the translation of the Code::Blocks to Brazillian Portuguese and put some translations to Portuguese too, (but I have no hope if the portuguese version are ok, but I try).

So, I'm happy to finish the Brazillian translation, Its a little complicated to put the Code::Blocks at Brazillian Portuguese at Ubuntu 12.04 but reading post by jens Now I'm happy again.

To put the .mo file at code::Blocks, I create some folders and put my .mo file at:
 /usr/share/codeblocks/locale/pt_BR

The folder locale and pt_BR doesn't exist and you have be the root user to play there.
I put the translation .mo file (downloaded from launchpad website) here:

 /usr/share/codeblocks/locale/pt_BR/_codeblocks-pt_BR.mo

and open the Code::Blocks, but A lot of messages is not translated, but at launchpad website I translated all string, strange...

At Launchpad we have 2137 lines of translations. Anyone have more lines to put at launchpad website?

https://translations.launchpad.net/codeblocks/trunk/+pots/codeblocks/pt_BR/+translate
Title: Re: Code::Blocks' translation
Post by: gd_on on October 04, 2012, 05:54:44 pm
Quote
and open the Code::Blocks, but A lot of messages is not translated, but at launchpad website I translated all string, strange...
Not so strange. Strings on Launchpad are definitely completely outdated. There is at present time approximately 8000 strings to translate (oups !), and many strings in launchpad are not exactly as they appear in C::B, so they are not translated ! Have a look two post above, you'll find a more recent .pot translation file.

gd_on
Title: Re: Code::Blocks' translation
Post by: Wagner de Queiroz on October 15, 2012, 02:31:38 am
Dear gd_on, I saw that pot file, the svn 8093, thanks for your work with the extraction tool. I have to ask, Its better generate a new .pot file at launchpad  from the last svn or the last stable version? Anybody have experience to upload the code::Blocks at launchpad website?
Title: Re: Code::Blocks' translation
Post by: gd_on on November 18, 2012, 04:59:54 pm
@Wagner de Queiroz : It should be better to use launchpad, but  I have no idea how to do to update it, and even if it's possible because I'm not the owner of the original file on Launchpad.
So I continue here ...

Updates to the .pot file extracted from svn 8572 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_pot_8572.7z). It's OK for the new Release Canditates 12.11 RC1.
Translation in French, also updated from svn 8572 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_8572.7z). Also OK for version 12.11 RC1.
There are 7900 character chains. There is still some work to do, not obvious without the context >:(. So, if you meet them and have some propositions, or find errors, don't hesitate to mail me (or send a PM). 8)

See previous posts for other informations.
The extraction tool is here (http://pagesperso-orange.fr/thunderbird-noia2/i18n_GD.7z).

gd_on
Title: Re: Code::Blocks' translation
Post by: LETARTARE on November 18, 2012, 05:14:32 pm
hello,
@ gd_on
Perhaps '8772' -> 8572' ...
Could you tell me the version of 'wxrc.exe' that you use ?
The extracted version of wxWidgets-2.8.x or 2.9.x-wxWidgets ?
Because the version 2.8.x does not generate the position of the extracted strings.
cordially
Title: Re: Code::Blocks' translation
Post by: gd_on on November 18, 2012, 05:35:17 pm
Yes, it's 8572, sorry for the mistyping ... :-[ Corrected in the original post  ;)
I still use wxWidgets 2.8.12 and wxrc found in the utils folder.
Now, I use TDM gcc 4.7.1, so it has been necessary to re-compile and build wxWidgets and wxrc. But, that's all.
I have not tried my tools with wxWidget 2.9.x, sorry.

gd_on
Title: Re: Code::Blocks' translation
Post by: gd_on on December 09, 2012, 12:58:59 pm
Updates to the .pot file extracted from svn 8644 and 12.11 Release are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_pot_8644_12.11.7z).
Translation in French, also updated from svn 8644 and 12.11 release in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_8644_12.11.7z).
There are 7913 character chains. There is still some work to do, not obvious without the context >:(. So, if you meet them and have some propositions, or find errors, don't hesitate to mail me (or send a PM). 8)

See previous posts for other informations.
The extraction tool is here (http://pagesperso-orange.fr/thunderbird-noia2/i18n_GD.7z).

gd_on
Title: Re: Code::Blocks' translation
Post by: LETARTARE on December 09, 2012, 01:51:59 pm
hello,
first reading, just a typo in the new translation po.fr:L4964  : "sting" -> "string".
Thank you for this excellent work.
Title: Re: Code::Blocks' translation
Post by: LETARTARE on December 09, 2012, 02:12:12 pm
hello,
it seemed that Morten McFly indicated for revision
"On the latest revision in the branch 12.11" and looking -> 8629,
whereas in the trunk -> 8644.
Which should be taken?
Title: Re: Code::Blocks' translation
Post by: gd_on on December 09, 2012, 06:50:44 pm
Typo corrected. Thanks.
I don't think there are so many differences in the strings between SVN 8629 and 8644. It's why I said it is compatible.

gd_on
Title: Re: Code::Blocks' translation
Post by: Hiro5 on December 29, 2012, 12:10:00 pm
Seems that there are missing some lines in the .POT/.PO file.

Code: [Select]
msgid "&Show tips at startup"
msgstr ""

msgid "Did you know..."
msgstr ""

msgid "&Next Tip"
msgstr ""

It translates some stuff in the "Tip of de day" dialog.
Maybe something is missing in the extraction tool.
Title: Re: Code::Blocks' translation
Post by: gd_on on December 29, 2012, 06:02:26 pm
May be ... or not.
It depends where are those strings and if they are marked (in a .cpp, .h, ...file) as translatable (with _(...)) or not translatable (with _T(...)).
If they are in a .xrc file they also can be found, normally.
An other problem, is ... I can't locate them in the sources. They are somewhere, sure, but in which file ? I have not found them  :(

gd_on
Title: Re: Code::Blocks' translation
Post by: jens on December 29, 2012, 06:30:57 pm
These strings are part of the wxWidgets wxTipDialog in tipdlg.cpp and can not be translated in C::B.
They should automatically be used localized, if you have installed the i18n package of wxWidgets.
Title: Re: Code::Blocks' translation
Post by: gd_on on December 29, 2012, 06:40:05 pm
Thanks Jens for the info.
I had also just found them in wxwidgets\locale\fr.po (in my case).
If with poedit, I create a fr.mo and put it in the same directory where is All_codeblocks.mo, it works. (I'm on Windows)

gd_on
Title: Re: Code::Blocks' translation
Post by: gd_on on January 23, 2013, 06:42:50 pm
Updates to the .pot file extracted from svn 8812 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_pot_8812.7z).
Translation in French, also updated from svn 8812 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_8812.7z).
There are 7147 character chains. There is still some work to do, not obvious without the context >:(. So, if you meet them and have some propositions, or find errors, don't hesitate to mail me (or send a PM). 8)

See previous posts for other informations.
The extraction tool is here (http://pagesperso-orange.fr/thunderbird-noia2/i18n_GD.7z).

gd_on
Title: Re: Code::Blocks' translation
Post by: LETARTARE on January 23, 2013, 06:58:56 pm
hello,
thank you for the work that I will use and analyze.
cordially
Title: Re: Code::Blocks' translation
Post by: LETARTARE on January 30, 2013, 05:57:14 pm
@gd_on
hello,
I am currently working on GNU AVR GCC and after building C::B r8818 and added your translation file, I can not find the compiler in the list.
A search tells me the last file "codeblocks.po" :
Code: [Select]
#: ../plugins/compilergcc/compilerGNUAVR.cpp:19
msgid "GNU AVR GCC Compiler"
msgstr "Compilateur GNU ARM GCC"

I do not have time to check the rest ...
Sincerely
PS : sorry it's 
Quote
All_codeblocks_fr_8644_12.11.7z
now old
Title: Re: Code::Blocks' translation
Post by: gd_on on January 30, 2013, 07:13:28 pm
I'm not totally sure of this, but with last C::B version, the name of some compilers are inside new compiler_xxx.xml files located in ...\src\plugins\compilergcc\resources\ in your svn folder.
1) my extracting tool does not analyze those files, so cannot find the chains which are located there, :(
2) even if I extracted those strings, I'm not sure that C::B can use them : almost all the compiler names appear in English on my own list, even those which are not identified in .xml files but are in standard C files, except 3 or 4, whose description string is in French ! Why only those ones  ??? May be there is a subtle difference that I don't see !

gd_on
Title: Re: Code::Blocks' translation
Post by: LETARTARE on January 30, 2013, 07:37:29 pm
hello,
I had not seen your message as it was on the next page !
The error was in the 'All_codeblocks_fr_8644_12.11.7z' as I corrected in the previous message.
Removing translation file,  the error persists !
I will first look in 'compiler_xxx.xml.'
cordially
Title: Re: Code::Blocks' translation
Post by: LETARTARE on January 30, 2013, 07:57:46 pm
In fact it was written in the 'default.conf' in French
I corrected version 'All_codeblocks_fr_8644_12.11.7z' for CB 12.11 and
everything is in order.
Title: Re: Code::Blocks' translation
Post by: gd_on on January 30, 2013, 08:02:29 pm
Strange, because strings that are inside default.conf are not affected by translation files, except the first time, when default.conf is generated ! And this is (was ?) a problem for translations.

gd_on
Title: Re: Code::Blocks' translation
Post by: LETARTARE on January 30, 2013, 08:22:26 pm
This is exactly what must have happened.
I installed 12.11 there is little time and with your translation file and as  'All_codeblocks_fr_8644_12.11.7z'  included this oversight,  the file 'default.conf' was retained.
I can use the same translation file in a compilation of r8818, and the use of AVR I discovered the problem.
cordially.
 
Title: Re: Code::Blocks' translation
Post by: ccpaging on February 01, 2013, 07:47:58 am
@Wagner de Queiroz : It should be better to use launchpad, but  I have no idea how to do to update it, and even if it's possible because I'm not the owner of the original file on Launchpad.
So I continue here ...

I am working on your POT file, and translating it into Chinese Simple. Is it possible to create a new project like "Codeblock12" use launchpad?
Title: Re: Code::Blocks' translation
Post by: tutuul on March 26, 2013, 05:38:34 pm
Is there any Bangla translation available, or how could I start translating into Bengali language. The language Bengali does use non-roman characters!!
Title: Re: Code::Blocks' translation
Post by: gd_on on March 27, 2013, 09:35:16 am
As far as I know, there are no bengali translations available, even on Launchpad : look at https://translations.launchpad.net/codeblocks/+translations
But as I told many times in this forum, launchpad version is really too old.
Look a few post before, download a recent .pot file, use poedit to translate the file, and use the .mo file generated. For a Windows install, copy this file in Codeblocks\share\CodeBlocks\locale\xxxx where xxxx is specific to your country. For French, xxxx is fr_FR. Normally, in the CodeBlocks settings, your language should appear if the .mo file is at the right place.
More detailed information here : http://forums.codeblocks.org/index.php/topic,1022.msg66337.html#msg66337 and all along this thread forum ...

Gd_on
Title: Re: Code::Blocks' translation
Post by: ccpaging on April 11, 2013, 10:41:18 am
Is there any Bangla translation available, or how could I start translating into Bengali language. The language Bengali does use non-roman characters!!

Bangla supported. Bad news is I do not know how to add a language. You may create account in launchpad and try.

https://translations.launchpad.net/codeblocks12
Title: Re: Code::Blocks' translation
Post by: gd_on on April 27, 2013, 06:02:01 pm
Updates to the .pot file extracted from svn 9000 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_pot_9000.7z).
Translation in French, also updated from svn 9000 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_9000.7z).
There are 7191 character chains. There is still some work to do, not obvious without the context >:(. So, if you meet them and have some propositions, or find errors, don't hesitate to mail me (or send a PM). 8)

See previous posts for other informations.
The extraction tool is here (http://pagesperso-orange.fr/thunderbird-noia2/i18n_GD.7z).

gd_on
Title: Re: Code::Blocks' translation
Post by: gd_on on June 15, 2013, 11:30:54 am
Updates to the .pot file extracted from svn 9156 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_pot_9156.7z).
Translation in French, also updated from svn 9156 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_9156.7z).
There are 7213 character chains. There is still some work to do, not obvious without the context >:(. So, if you meet them and have some propositions, or find errors, don't hesitate to mail me (or send a PM). 8)

See previous posts for other informations.
The extraction tool is here (http://pagesperso-orange.fr/thunderbird-noia2/i18n_GD.7z).

gd_on
Title: Re: Code::Blocks' translation
Post by: LETARTARE on June 15, 2013, 11:39:14 am
thank you for the good work up.
I'll try to find time to check in detail...
Title: Re: Code::Blocks' translation
Post by: LETARTARE on August 07, 2013, 09:09:40 pm
@gd_on
Perhaps you will interested in:
http://forums.codeblocks.org/index.php/topic,18223.msg124603.html#msg124603 (http://forums.codeblocks.org/index.php/topic,18223.msg124603.html#msg124603)
which provides a link to a translation tool integrated in 'Code::Blocks'.
Your expert opinion would be helpful.
Sincerely.
Title: Re: Code::Blocks' translation
Post by: gd_on on October 12, 2013, 10:46:58 am
Updates to the .pot file extracted from svn 9395 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_pot_9395.7z).
Translation in French, also updated from svn 9395 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_9395.7z).
There are 7316 character chains. There is still some work to do, not obvious without the context >:(. So, if you meet them and have some propositions, or find errors, don't hesitate to mail me (or send a PM). 8)

See previous posts for other informations.
The extraction tool is here (http://pagesperso-orange.fr/thunderbird-noia2/i18n_GD.7z).

gd_on
Title: Re: Code::Blocks' translation
Post by: gd_on on November 02, 2013, 02:50:10 pm
Updates to the .pot file extracted from svn 9425 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_pot_9425.7z).
Translation in French, also updated from svn 9425 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_9425.7z).
This update contains extraction and translation for xml compiler files. So, many new strings and some that were already there before xml compiler files were introduced.
There are 8602 character chains. There is still some work to do, not always obvious without the context >:(. So, if you meet them and have some propositions, or find errors, don't hesitate to mail me (or send a PM). 8)

See previous posts for other informations.
An updated extraction tool (some lines added for extracting chains from xml files) is here (http://pagesperso-orange.fr/thunderbird-noia2/i18n_GD.7z).

gd_on
Title: Re: Code::Blocks' translation
Post by: gd_on on December 09, 2013, 07:25:32 pm
Updates to the .pot file extracted from svn 9491 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_pot_9491.7z).
Translation in French, also updated from svn 9491 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_9491.7z).
This update contains extraction and translation for xml compiler files. So, many new strings and some that were already there before xml compiler files were introduced.
There are 8590 character chains. There is still some work to do, not always obvious without the context >:(. So, if you meet them and have some propositions, or find errors, don't hesitate to mail me (or send a PM). 8)

See previous posts for other informations.
An updated extraction tool (some lines added for extracting chains from xml files and treat specifically &quot; chains) is here (http://pagesperso-orange.fr/thunderbird-noia2/i18n_GD.7z).

gd_on
Title: Re: Code::Blocks' translation
Post by: gd_on on January 30, 2014, 08:28:20 pm
As usual, updates to the .pot file extracted from svn 9614 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_pot_9614.7z).
Translation in French, also updated from svn 9614 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_9614.7z).

Updated, some shortcuts in the menu, not translated, because if they are translated they are not recognized under Windows (at least) and do not work as expected : apparently a consequence of modifications introduced in svn 9594.

There are 8657 character chains. There is still some work to do, not always obvious without the context >:(. So, if you meet them and have some propositions, or find errors, don't hesitate to mail me (or send a PM). 8)

See previous posts for other informations.
An updated extraction tool (some lines added for extracting chains from xml files and treat specifically &quot; chains) is here (http://pagesperso-orange.fr/thunderbird-noia2/i18n_GD.7z).

gd_on
Title: Re: Code::Blocks' translation
Post by: gd_on on June 21, 2014, 06:59:06 pm
As usual, updates to the .pot file extracted from svn 9818 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_pot_9818.7z).
Translation in French, also updated from svn 9818 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_9818.7z).

See previous posts for other informations.
An updated extraction tool (some lines added for extracting chains from xml files and treat specifically &quot; chains) is here (http://pagesperso-orange.fr/thunderbird-noia2/i18n_GD.7z).

gd_on
Title: Re: Code::Blocks' translation
Post by: gd_on on February 27, 2015, 02:19:17 pm
As usual, updates to the .pot file extracted from svn 10128 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_pot_10128.7z).
Translation in French, also updated from svn 10128 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_10128.7z).

See previous posts for other informations.
An updated extraction tool (some lines added for extracting chains from xml files and treat specifically &quot; chains) is here (http://pagesperso-orange.fr/thunderbird-noia2/i18n_GD.7z).

gd_on
Title: Re: Code::Blocks' translation
Post by: LETARTARE on February 27, 2015, 02:39:14 pm
Thanks for the good work.
Title: Re: Code::Blocks' translation
Post by: LETARTARE on March 15, 2015, 04:59:03 pm
Hello,
how does one translate a contrib plugin ?
Where to put the file '*.mo' ?

Cordially
Title: Re: Code::Blocks' translation
Post by: gd_on on December 06, 2015, 07:16:19 pm
As usual, updates to the .pot file extracted from svn 10609 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_pot_10609.7z).
Translation in French, also updated from svn 10609 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_10609.7z).

See previous posts for other informations.
An updated extraction tool (some lines added for extracting chains from xml files and treat specifically &quot; chains) is here (http://pagesperso-orange.fr/thunderbird-noia2/i18n_GD.7z).

gd_on
Title: Re: Code::Blocks' translation
Post by: gd_on on January 29, 2016, 06:07:11 pm
As usual, updates to the .pot file extracted from svn 10745 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_pot_10745.7z).
Translation in French, also updated from svn 10745 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_10745.7z).
These files may be used with C::B 16.01.

See previous posts for other informations.
An updated extraction tool (one line added for extracting chains in include folder) is here (http://pagesperso-orange.fr/thunderbird-noia2/i18n_GD.7z).

gd_on
Title: Re: Code::Blocks' translation
Post by: gd_on on June 06, 2016, 07:30:56 pm
As usual, updates to the .pot file extracted from svn 10858 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_pot_10858.7z).
Translation in French, also updated from svn 10858 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_10858.7z).
These files may be used with C::B 16.01.

See previous posts for other informations.

gd_on
Title: Re: Code::Blocks' translation
Post by: LETARTARE on June 06, 2016, 07:41:26 pm
Thanks for the good work.
Title: Re: Code::Blocks' translation
Post by: gd_on on December 31, 2017, 03:27:08 pm
As usual, updates to the .pot file extracted from svn 11260 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_pot_11260.7z).
Translation in French, also updated from svn 11260 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_11260.7z).
These files may be used with C::B 17.12.

See previous posts for other informations.

And I wish you an happy new C::B year ... ;D

gd_on
Title: Re: Code::Blocks' translation
Post by: gd_on on January 28, 2019, 10:05:04 am
Small problem to extract strings to be translated in C::B sources :
in ...\CodeBlocks_src\src\plugins\codecompletion\testing\ there is a file named cc_type_with attributes.cpp
The problem I have is that there is a space character in its name (between "with" and "attributes") and this space is considered as a separator for many unix like utilities, so the name is truncated and it makes an error in my string extraction tool. :-[
I have slighly modified my string extraction tool to eliminate this file in the search process, but it could be nice  ;) if this space character could be replaced by a _ as in many other file names.

As usual, updates to the .pot file extracted from svn 11558 are here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_pot_11558.7z).
Translation in French, also updated from svn 11558 in the .po and .mo file is here (http://pagesperso-orange.fr/thunderbird-noia2/All_codeblocks_fr_11558.7z).
These files may be used with C::B 17.12.

See previous posts for other informations.

And I wish you an happy new C::B year ... ;D

gd_on
Title: Re: Code::Blocks' translation
Post by: oBFusCATed on January 28, 2019, 07:45:56 pm
@ollydbg: Can you look at this problem?
Title: Re: Code::Blocks' translation
Post by: ollydbg on January 29, 2019, 06:11:08 am
@ollydbg: Can you look at this problem?
OK, I will do it tonight or tomorrow.
Title: Re: Code::Blocks' translation
Post by: ollydbg on January 29, 2019, 01:34:44 pm
@ollydbg: Can you look at this problem?
OK, I will do it tonight or tomorrow.
Fixed in trunk now. Thanks gd_on for your contribution.