Author Topic: How to use the language pack?  (Read 17788 times)

Offline kingfox

  • Multiple posting newcomer
  • *
  • Posts: 41
How to use the language pack?
« on: November 07, 2006, 11:45:04 am »
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 ?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7594
    • My Best Post
Re: How to use the language pack?
« Reply #1 on: November 10, 2006, 05:44:12 am »
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
« Last Edit: November 10, 2006, 05:55:02 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline kingfox

  • Multiple posting newcomer
  • *
  • Posts: 41
Re: How to use the language pack?
« Reply #2 on: November 10, 2006, 02:55:49 pm »
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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7594
    • My Best Post
Re: How to use the language pack?
« Reply #3 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.

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

Offline kingfox

  • Multiple posting newcomer
  • *
  • Posts: 41
Re: How to use the language pack?
« Reply #4 on: November 10, 2006, 04:08:49 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

  • Guest
Re: How to use the language pack?
« Reply #5 on: January 04, 2008, 05:02:48 pm »
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?!!?!? :(
« Last Edit: January 04, 2008, 11:23:36 pm by cris van oz »

Offline darthdespotism

  • Almost regular
  • **
  • Posts: 163
    • Coder's Nemesis
Re: How to use the language pack?
« Reply #6 on: January 04, 2008, 11:55:34 pm »
AFAIK does rc2 not support i18n, you'll habe to use some recent nightly build

cris van oz

  • Guest
Re: How to use the language pack?
« Reply #7 on: January 05, 2008, 12:17:55 am »
ok. i will try.
EDIT:

Thx now it works!
« Last Edit: January 05, 2008, 12:48:05 am by cris van oz »

Offline berte

  • Single posting newcomer
  • *
  • Posts: 9
Re: How to use the language pack?
« Reply #8 on: January 05, 2008, 10:05:43 pm »
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...

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: How to use the language pack?
« Reply #9 on: January 07, 2008, 11:11:10 am »
Hi guys, [...]
It's enough if you post in one section btw... Thanks.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline berte

  • Single posting newcomer
  • *
  • Posts: 9
Re: How to use the language pack?
« Reply #10 on: January 07, 2008, 06:20:59 pm »
Hi guys, [...]
It's enough if you post in one section btw... Thanks.

Sorry MortenMacFly, nevermore ;)