strolch-wc-localize-behavior/README.md

14 lines
333 B
Markdown
Raw Permalink Normal View History

2017-08-14 10:58:24 +02:00
# 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");`