Internationalization and localization
Global application support can be provided by web applications by giving proper internationalization and globalization support.
The following diagram shows a list of languages supported by Oracle JET through Oracle National Language Support (NLS):
Additionally, Oracle JET offers support for over 160 locales by using the Common Locale Data Repository (CLDR), saved in the same way as locale bundles. The locale-specific information can be advised in the application in either:
- Requiring JS configuration
- Using the
lang
attribute in an HTML page - Using the
navigator.language
ornavigator.userLanguage
browser properties
Oracle JET framework also lets us define translation bundles for labels on the page, to populate different language-specific labels on the page dynamically.
The sample program for the translation bundle is as follows:
define({ "root": { "label": "Select an application", "menu1": "Payroll", "menu2": "Business Processing", "menu3": "Administration...