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 c0d5d6003a
[Fix] Return nothing if no key given
3 months ago
.gitignore [Minor] code cleanup 6 years ago
LICENSE [Project] Initial commit, adding project files. 7 years ago
README.md [Minor] Fixed small typos 6 years ago
bower.json [Fix] Return nothing if no key given 3 months ago
strolch-wc-localize-behavior.html [Fix] Return nothing if no key given 3 months ago

README.md

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