From this book "Oracle Certified Professional Java SE 7 Programmer Exams 1Z0-804 and 1Z0-805: A Comprehensive OCPJP 7"
A fully qualified resource bundle has the following form:
packagequalifier.bundlename + "" + language + "" + country + "" + (variant + "#" | "#") + script + "-" + extensions
However I cannot put the hyphen in a class name... maybe it's an error and they wanted to put another underscore? Or is there something I am missing about the extensions? As far as I know for the extension the hyphen serves to separate the sub key-value pair of a certain category.. for example "ca-buddhist". What would be the fully qualified name of a ResourceBundle with an unicode extension 'u' "ca-buddhist"?
Thanks in advance.
A fully qualified resource bundle has the following form: packagequalifier.bundlename + "" + language + "" + country + "" + (variant + "#" | "#") + script + "-" + extensions
I don't think this definition is correct.
Have a look at the Javadoc.
Strangely, extensions (defined in Locale) don't get mentioned...