In version 1.2-pre1 there is some locale selection code
that transposes browser language selections into what
is thought as being existing locales.
I come from Denmark and here we either use "da" or
"da_DK". But as I also come from an international
environment I do not have the freedom of fixing the
locale to either of these selections.
Furthermore as a Mozilla user I can choose the language
"da" for Danish as preferred over "en" for English, but
I do not have the possibility of choosing "da-dk",
which I know will make MRBS work; but I have the
possibility of writing "da-dk", which mozilla
accepts, but then I have to know what to write, which
cannot be required from all users.
I suggest that MRBS first tries to set the locale
(after some sanitizing) to the user's preference before
trying to generate other guessed locales. setlocale()
returns FALSE in case something goes wrong.