mirror of
https://github.com/strolch-li/strolch-wc-localize-behavior.git
synced 2025-12-10 01:56:34 +01:00
A Polymer behavior extension for localization i.e. i18n
| .gitignore | ||
| bower.json | ||
| LICENSE | ||
| README.md | ||
| strolch-wc-localize-behavior.html | ||
strolch-wc-localize-behavior
Custom localization behavior for Strolch Polymer-Apps.
Usage
Add the custom behavior in your app shell
behaviors: [StrolchLocalizeBehavior, ...]
and configure the language and resource file, e.g.:
strolchLocalLanguage = "en";
strolchLocalResourceUrl = this.resolveUrl("../locales.json");