This week's book giveaway is in the Other Languages forum. We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line! See this thread for details.
Now, if I get a bundle with an non existing language (a language that simply does not exist and/or for which no property file was present) I would like the default bundle to be used.
However, after some tests it seems that the path for resolving also includes the Locale.getDefaultLocale(). So what the getBundle does is something like (correct me if I'm wrong) :
a) try to load the locale using the steps explained in the api b) if no valid bundle was found, try the getDefaultLocale() and repeat step a with this locale. c) if step b did not return a bundle, try to load the default bundle
So, if I try to load a non existing language, I endup with the language specified on my machine. Only when there is no property file with that language either, it will load the default file.
I would like to eliminate step b. I want, that when there is no support for a certain language, the default file is used directly.