News:

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

Main Menu

How to change build message language

Started by tym, November 06, 2011, 12:54:44 PM

Previous topic - Next topic

tym

Hey,

How do I change the build message language? When I compile a code with errors I get message back which is not in a real language.. It is a mixture of danish, english and symbols..
It is kind of strange since my win7 is english..

So, how do I change this to only give english message?

Thanks for your help

MortenMacFly

Quote from: tym on November 06, 2011, 12:54:44 PM
So, how do I change this to only give english message?
As you did not say anything about the version and platform your are using, I can only do a wild guess. Change the LOCALE of you system to English.
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]

tym

Quote from: MortenMacFly on November 06, 2011, 01:09:57 PM
Quote from: tym on November 06, 2011, 12:54:44 PM
So, how do I change this to only give english message?
As you did not say anything about the version and platform your are using, I can only do a wild guess. Change the LOCALE of you system to English.

Win 7, 64 bits.
code block ver 10.05 - 32 bit.

Will you tell me how a do that?

And if it make a different: I compile with cygwin, which I have change to only english in the Cygwin.bat file

tym


zabzonk

Well, my advice is simple - "don't use Cygwin". Changing the cygwin.bat file will not affect Code::Blocks in any way. The cygwin.bat file is just a shortcut to run the bash shell, but Code::Blocks runs the GCC compiler directly, not through cygwin.bat, so any locale changes you made there will not be picked up. 

The environment variables that control GCC output are described at http://gcc.gnu.org/onlinedocs/gcc-4.4.0/gcc/Environment-Variables.html#Environment-Variables but you need to set them somewhere other than in cygwin.bat, such as in Code::Blocks, Settings|Environment|Environment Variables dialog.