A Polymer behavior extension for localization i.e. i18n
Go to file
Robert von Burg 4421f799ad Rename strolch-localize-behavior.html to strolch-wc-localize-behavior.html 2017-03-08 16:31:27 +01:00
.gitignore [Project] Initial commit, adding project files. 2017-02-20 12:57:39 +01:00
LICENSE [Project] Initial commit, adding project files. 2017-02-20 12:57:39 +01:00
README.md [Project] Initial commit, adding project files. 2017-02-20 12:57:39 +01:00
bower.json [Project] Updated to version 1.0.1 2017-03-08 16:30:36 +01:00
strolch-wc-localize-behavior.html Rename strolch-localize-behavior.html to strolch-wc-localize-behavior.html 2017-03-08 16:31:27 +01:00

README.md

strolch-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");