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.22.0/js/sky-bundle.min.js" integrity="sha384-2qesu/A/tbrbanj8hKspL09Did/7CRzjEh9Yd0GZjkQuCsBisMh5ZMDVQawq9YHv" crossorigin="anonymous"></script> <script src="https://sky.blackbaudcdn.net/skyux/1.22.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.