Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The net result of this is that a user may not see the localization they expected, but will see a localization that is useful to them. See also the Technical Detailstechnical details below below.

The messages which can be displayed are defined in the configuration file idpselect_config.js as  and (from V1.1 onwards idpselect_languages.js which is combined into the minimised source)  as a series of bundles. V1.1 ships with bundles for English and German, German, Japanese and Brazilian Portuguese.

To extend the EDS for an additional language extend add the language bundles to the langBundles variable in idpselect_config.js by adding an entry for the appropriate language (for instance "gd" or "fr-ca"). Note that if you add a localized language ("en-gb") you should also ensure that the major language ("en") is also available  You can modify the language bundle that is shipped with the EDS in the same way.

Note that the EDS will use your language bundles in preference to the shipped language bundles and the most specific language possible. For instance, if the browser reports "en-gb" then the EDS would use a "en-gb" bundle in preference to an "en" bundle. Equally if only a "en-us" bundle is specified then there will be no match and the default language will be used.

...

  1. First from the entire supplied language. (e.g. "fr-ca").  The search is done first in your configured bundles and then the provided bundles.

  2. Then from the 'major language' ("fr")

  3. Then from the default language as configured into the EDS.

...