Search code examples
javalocaleresourcebundle

Default Resource bundle is used for every locale?


I have a web page the content on which is using the values from the Default Resource bundle for every locale?


Solution

  • It is used as a fallback bundle when no resource bundle could be located for a given Locale. You can specify a fallback locale. If none is specified then the default Locale of the JVM (Locale.getDefault()) is used as the fallback locale.

    Tutorial: Localization with ResourceBundles