Localization is an important concept to the SKY UX framework. Any text that is displayed in the framework should support localization.
Specify a locale
<script> section would include an additional entry for localization.
<script src="https://sky.blackbaudcdn.net/skyux/1.14.0/js/sky-bundle.min.js" integrity="sha384-+hsf7O+3eIUWm7mkBHlHFMqtgU2jpjndqkn1DwOMmmhg0Wl1rbdVJ0gA5G53xNqI" crossorigin="anonymous"></script> <script src="https://sky.blackbaudcdn.net/skyux/1.14.0/js/locales/sky-locale-en-GB.js"></script> <script src="index.js"></script>
As of November 2016, SKY UX fully supports the following locales:
- en-AU (English — Australia)
- en-CA (English — Canada)
- en-GB (English — Great Britain)
- en-US (English — United States)
- es-ES (Spanish — Spain)
- fr-CA (French — Canada)
- fr-FR (French — France)
- it-IT (Italian — Italy)
- nl-NL (Dutch — Netherlands)
We are actively working to increase the available locales.
When you set the current locale with the technique above, you also automatically include and globally initialize the matching bbMoment module locale.