> Once you call setlocale(LC_ALL, ""), the strerror() value that comes
> back should be localized.  That said, Mac OS X inexplicably does not
> localize strerror at all, so if you are testing on Mac OS X your
> error dialog message won't be localized...

I tried that, it does not seem to work. I'm on Windows using mingw/msys with 
FLTK 1.3 I can set the locale and then check it to see that it has been set, 
but the 'Permission denied' error message always appears in English.

I'm doing this:

// Set to Spanish
std::setlocale(LC_ALL, "spanish");

// Check Locale
if ( build::mode == "debug" )
{
  fl_alert(std::setlocale(LC_ALL,0));
}

That second bit of code prints this:

Spanish_Spain.1252

Any other suggestions?


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to