G
Guest
Hello everyone,
I want to print out and log localized message according to current locale of
machine. For example, if I am always use MESSAGE_ERROR macro in my program,
and I want to replace it with "Error" when the locale is en_US and be
replaced with French if the locale if Fr.
I am wondering whether Visual Studio 2005 provide some existing technology
or some resource file which I could utilize? For example, I could define
MESSAGE_ERROR macro to "error" if locale is English and define to other
values if other locale is set. I do not want to change any source codes if
necessary. I am developing unmanaged C++ DLL using Visual Studio 2005.
thanks in advance,
George
I want to print out and log localized message according to current locale of
machine. For example, if I am always use MESSAGE_ERROR macro in my program,
and I want to replace it with "Error" when the locale is en_US and be
replaced with French if the locale if Fr.
I am wondering whether Visual Studio 2005 provide some existing technology
or some resource file which I could utilize? For example, I could define
MESSAGE_ERROR macro to "error" if locale is English and define to other
values if other locale is set. I do not want to change any source codes if
necessary. I am developing unmanaged C++ DLL using Visual Studio 2005.
thanks in advance,
George