A Polymer behavior extension for localization i.e. i18n
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Robert von Burg 1dbad36d1f
[Project] Updated web dependencies
8 months ago
.gitignore [Minor] code cleanup 5 years ago
LICENSE [Project] Initial commit, adding project files. 6 years ago
README.md [Minor] Fixed small typos 6 years ago
bower.json [Project] Updated web dependencies 8 months ago
strolch-wc-localize-behavior.html [Fix] Added fallbackLanguage as en 2 years ago



Custom localization behavior for Strolch Polymer-Apps.


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