Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: tym on November 06, 2011, 12:54:44 pm
-
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
-
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.
-
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
-
There is no body there can help me?
-
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.