In most cases, you will only need to create a single version of each properties file for each language.
However, if you need to support languages with regional differences, such as US and Australian English, or Canadian and French French, then you can optionally create additional properties files to cover the differences between language variants.
To enable this additional level of specialisation, you need to create additional properties files that include an upper-case, 2 character ISO 3166 country code in the filename, in addition to the language code. See http://www.iso.org/iso/prods-services/iso3166ma/02iso-3166-code-lists/country_names_and_code_elements for a list of acceptable codes.
For example, to support US and Australian English, you would create properties files named like the following:
To support Canadian and French French, you would create properties files named like the following:
Once you have created the country-specific properties files, you must also add the country-specific locales to the
<supported-locale> list in <tomcat_home>\webapps\webapi\WEB-INF\faces-config.xml.
Make sure that the country-specific locales appear before the generic language locale in the
<supported-locale> list. If the generic language locale appears first then it will always be used instead of the country-specific locale.
Once you have finished making changes to faces-config.xml you must restart Tomcat or the SuperWEB2 service.