|
|
On Tue, 08 Apr 2008 20:34:43 +0200 Andreas Wittmann <andy_x86@xxxxxxx> wrote:
AW> The function GetCanonicalName() from wxLocale in combination with the
AW> spanish-language doesn't return any useful string. I expected "es_ES" but
AW> i just got "".
This is probably a bug but I'm a bit afraid to touch the fragile code in
2.8 and it was already fixed in the trunk.
You can use FindLanguageInfo(wxLANGUAGE_SPANISH)->CanonicalName as a
workaround.
AW> There are no problems with other languages like wxLANGUAGE_FRENCH,
AW> wxLANGUAGE_GERMAN, ...
Surely because these locales are supported by your system while Spanish
isn't.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
|
|