Skip to content

Lightning SDK 1.1.1

Compare
Choose a tag to compare
@g-zachar g-zachar released this 21 Oct 12:51
· 1219 commits to master since this release

Features

  • Added module for text localization (#16).

Example:

Create translation file for your application:
static/locale/locale.json

{
"en": {"hello": "Hello"},
"pl": {"hello": "Witaj"}
}

Use in your javascript application:

ux.locale.setLanguage('en');
...
text: {text: ux.locale.tr.hello}