News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

How to use the language pack?

Started by kingfox, November 07, 2006, 11:45:04 AM

Previous topic - Next topic

kingfox

I download a localization language pack for Chinese(Simplified). There are two files: zh_CN.mo and zh_CN.po. I placed them into codeblocks\share\locale (is it right?), And set the "internationalization" options in Environment->View panel to "Chinese(Simplified)". When I restarted Code::Blocks, the UI is still english.

How should I do to show the chinese UI ?

stahta01

#1
I have no idea if this works, but try

"Setting" -> "Enviroment" Select "View" from left panel.
Check mark "Internationalzation" and see if it lets you select the language.

Edit: looks like I need reading lessons, did you get an error on re-starting CodeBlocks?
I did when I tried it, said it could not set to Chinese(Simplified).

Here is what I found on codeblocks Wiki
http://wiki.codeblocks.org/index.php?title=Internationalization#Let_Code::Blocks_support_your_language

Sorry, that I could not help you.

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

kingfox

Thanks stahta01 very much ! You give so valuable help.

I checked "Internationalzation" option and select "Chinese(Simplified)" and restart C::B, but the UI is still english. And I didn't get any error message. Then I read the wiki you told me and worked follow its directive (place zh_CN.mo, zh_CN.po, codeblocks.pot into {$CodeBlocks Install Dir}\share\CodeBlocks\locale\zh_CN folder and copy zh_CN.mo to codeblocks.mo). Then I start C::B and re-checked mark the "Internationalzation". After restart C::B, the UI is Chinese.

But now I meet another problem: I can't switch UI to English. I try to disable "Internationalzation", delete all the *.mo, *.po and *.pot files, but the UI is still Chinese. Who can give me any suggestions ? Thanks.

stahta01

Try picking (system default) under "Internationalzation" and see if that works.

The help/header file I read somewhere said it is supposed to change the English users back to English.

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

kingfox

Quote from: stahta01 on November 10, 2006, 03:14:29 PM
Try picking (system default) under "Internationalzation" and see if that works.

The help/header file I read somewhere said it is supposed to change the English users back to English.
I did so, and restart C::B, but the UI is still english. Maybe I'm a Chinese user and my windows is Chinese edition, so C::B think "system default" should be Chinese.

Then I disable the "Internationalzation" again and restart my computer. When start C::B again, the UI switch to English. I don't know why it is. Then I switch UI between Chinese and English several times, every thing is OK. Maybe my system has some issue.

Thanks for your help.

Regards.

cris van oz

#5
hi im very new with IDE Software so i was just happy to find such a nice programm.
I installed and everything was fine except the thing that i cant swicth the programm to german.
no i saw this possibility to load a .mo file. but my problem is in share/codeblocks doenst exist any folder called locate or simmilar. also is NO option to switch language in the options menu so what is the problem and how can i switch?!
i use the version 1.0rc2

greetz cris

edit:

no ideas?!!?!? :(

darthdespotism

AFAIK does rc2 not support i18n, you'll habe to use some recent nightly build

cris van oz

#7
ok. i will try.
EDIT:

Thx now it works!

berte

Hi guys,

I try to translate Turkish language but i've a question. Some part of Code::Blocks don't translate to native language(e.g. Start Here screen,  under File menu some items).

How to solve this little problem ?

Thanks for reading...

MortenMacFly

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

berte