Brazilian Portuguese Translation

Discuss here codelite i18n support
WagnerDeQueiroz
CodeLite Curious
Posts: 4
Joined: Thu Feb 13, 2014 6:31 am
Genuine User: Yes
IDE Question: C++
Contact:

Brazilian Portuguese Translation

Post by WagnerDeQueiroz »

Good day for all! I'm very happy to using the codelite 4.5.
Now I began to translation the codelite.pot to pt_BR (Brazillian Portuguese)
So, maybe is time to generate a new .pot file, because the actual .pot file is older on the git. (I guess)
I'm translating the actual version of the .pot file now. If another people like to help, We can share the Brazillian Portuguese file. I have no experience to git to commit my translation for now. but I can send by email my translation.

I like to thanks for all for this great IDE.
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Brazilian Portuguese Translation

Post by DavidGH »

Hi,
Now I began to translation the codelite.pot to pt_BR (Brazillian Portuguese)
Thank you.
So, maybe is time to generate a new .pot file, because the actual .pot file is older on the git
Done. (It was only a year old...)

Regards,

David
WagnerDeQueiroz
CodeLite Curious
Posts: 4
Joined: Thu Feb 13, 2014 6:31 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Brazilian Portuguese Translation

Post by WagnerDeQueiroz »

Hi David, I known this. I downloaded from git yesterday,

The last version of codelite is very very new from the .pot file on github. Maybe is a good idea create anoter .pot file for the last stable version.

Anyone has a link or information to generate a new .pot to the last version of the codelite?

I began to translate the .pot file from the github. Soon I will finish this.

I hope this .pot file (when I complete) can translate more than 50% from the strings of the last version.
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Brazilian Portuguese Translation

Post by DavidGH »

I known this. I downloaded from git yesterday,
I know. I was poking fun at myself for not updating it for so long :) .
The last version of codelite is very very new from the .pot file on github. Maybe is a good idea create anoter .pot file for the last stable version.
Not really. Any translation you do will be distributed with the next CodeLite release, which will be based on the latest git trunk.
Anyone has a link or information to generate a new .pot to the last version of the codelite?
Not really a useful thing to do, as I said above. But if you want to generate your own .pot, it's not hard (at least on Linux):

(Step 0: Install wx3.0.0 or later; it's needed for the wxrc utility. You'll also need xgettext installed, or the equivalent for your platform.)

First extract the menu strings, which are in an XRC file:

Code: Select all

cd {CodeLite dir}/Runtime/rc
wxrc -g *.xrc > ../../XRC_strings_to_translate.txt
Then the real work:

Code: Select all

cd {CodeLite dir}
find .  -name "*.cpp" -o -name "*.h" -o -name "XRC_strings_to_translate.txt" | grep -F -v /sdk/clang/ | xargs xgettext -o codelite.pot -k_ -kwxTRANSLATE -C -
WagnerDeQueiroz
CodeLite Curious
Posts: 4
Joined: Thu Feb 13, 2014 6:31 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Brazilian Portuguese Translation

Post by WagnerDeQueiroz »

Hi, DavidGH!

Thanks for the information. I use Ubuntu 13.10, I love my linux.

will be easy to do now. Thanks a lot!
WagnerDeQueiroz
CodeLite Curious
Posts: 4
Joined: Thu Feb 13, 2014 6:31 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Brazilian Portuguese Translation

Post by WagnerDeQueiroz »

Dear DavidGH,

Thanks for the help with the generation of the new .pot file.

I generate a new one .potfile with 3013 strings!
the Older (from the github) has 2935 strings.
Its a good idea put this new .pot file on github?

Anyone wants this new .pot file? I will send
Post Reply