Apparently, the locale information is only filled with a prior call to setlocale() with some standard values. BUG: 426406
mentioned in commit 322d51c2