- Use
[email protected]
with[email protected]
i18n-controller.js
- Polymer-independent I18N methodsi18n-controller-core.js
- Excluding preprocessor methods for preprocessed sources- Depending on
wc-putty@^0.1.0
- Depending on
i18n-format@^4.0.0
- Peer Dependency on
@polymer/polymer
in package.json
- Explicit dependency on
@polymer/polymer
in package.json - Safari 9 support
- Support Polymer 3.x in ES modules with the help of
i18n-element
- Support
lit-html
with the help ofi18n-element
- Modules
Module | Packager | Version | Description |
---|---|---|---|
i18n-element | npm | 3.0.0 | I18N base element class |
i18n-behavior | npm | 3.0.0 | Run-time I18N handler |
i18n-format | npm | 3.0.1 | I18N text formatter |
i18n-number | npm | 3.0.1 | I18N number formatter |
gulp-i18n-preprocess | npm | 1.2.3 | Build-time I18N preprocessor |
gulp-i18n-leverage | npm | 1.1.4 | L10N JSON updater |
gulp-i18n-add-locales | npm | 0.1.1 | L10N JSON placeholder generator |
xliff-conv | npm/bower | 1.0.12 | XLIFF/JSON converter |
live-localizer | npm | 3.0.0 | L10N widget |
- Polymer 1.x/2.x support in HTML Imports
- Bower support
- Hybrid support of Polymer 1.x/2.x in the legacy syntax
- i18n-element I18N base element class for Polymer 2.x
- live-localizer L10N widget
Module | Packager | Version | Description |
---|---|---|---|
i18n-element | npm/bower | 2.0.0 | I18N base element class |
i18n-behavior | npm/bower | 2.0.0 | Run-time I18N handler |
i18n-format | npm/bower | 2.0.0 | I18N text formatter |
i18n-number | npm/bower | 2.0.2 | I18N number formatter |
gulp-i18n-preprocess | npm | 1.2.3 | Build-time I18N preprocessor |
gulp-i18n-leverage | npm | 1.1.3 | L10N JSON updater |
gulp-i18n-add-locales | npm | 0.1.0 | L10N JSON placeholder generator |
xliff-conv | npm/bower | 1.0.10 | XLIFF/JSON converter |
live-localizer | npm/bower | 2.0.1 | L10N widget |
- XLIFF import/export support with xliff-conv converter
- Experimental Polymer CLI pre-release 0.11.1 support with I18N task integration, based on a private API
- Selective I18N-target attribute support via
<i18n-attr-repo>
element - Compound bindings support for I18N-target attributes
Module | Packager | Version | Description |
---|---|---|---|
i18n-behavior | bower | 1.1.0 | Run-time I18N handler |
i18n-format | bower | 1.0.0 | I18N text formatter |
i18n-number | bower | 1.0.1 | I18N number formatter |
gulp-i18n-preprocess | npm | 1.1.0 | Build-time I18N preprocessor |
gulp-i18n-leverage | npm | 1.0.13 | L10N JSON updater |
gulp-i18n-add-locales | npm | 0.1.0 | L10N JSON placeholder generator |
xliff-conv | npm/bower | 1.0.1 | XLIFF/JSON converter |
- Instant I18N by one line addition of
I18nBehavior
- Minimal or no overhead for development: Run-time automatic extraction of hard-coded UI text strings from HTML templates
- Optimal for production: Build-time automatic extraction and bundling of hard-coded UI text strings from HTML templates by
gulp-i18n-preprocess
preprocessor - Modular (per element) JSON support for storing and fetching localized UI text strings
- Bundled (per app) JSON support for storing and fetching localized UI text strings
- Automatic application of
<i18n-format>
with Unicode CLDR plural rules and Gender support - Polymer 1.2.0's Compound Bindings support with
<i18n-format>
i18n-dom-bind
template instead ofdom-bind
for instant I18N of bound templates- Dynamic on-demand fetching of localized UI text strings from JSON under
locales
directories - Real-time observation of
<html lang>
attribute value for UI text localization - Robust fallback of missing UI text strings to parent locales and finally to the default locale (e.g. "fr-CA" -> "fr" -> "en") with practical BCP47 support
this.text
dynamic object shared among the same custom element to access localized stringsthis.model
object deepcopied fromthis.text.model
object per instance to access localized attribute stringsi18n-attr-repo
to maintain repository of I18N target attributesgulp-i18n-leverage
filter to merge changes in the default language in HTML templates into localized JSON resources.gulp-i18n-leverage
filter to put meta infomation, that is, L10N "TO DO" list, for the merged changes in JSON resources- Option to define I18N target strings manually by
<json-data>
elements
Module | Packager | Version | Description |
---|---|---|---|
i18n-behavior | bower | 1.0.0 | Run-time I18N handler |
i18n-format | bower | 1.0.0 | I18N text formatter |
i18n-number | bower | 1.0.0 | I18N number formatter |
gulp-i18n-preprocess | npm | 1.0.0 | Build-time I18N preprocessor |
gulp-i18n-leverage | npm | 1.0.0 | L10N JSON updater |
gulp-i18n-add-locales | npm | 0.1.0 | L10N JSON placeholder generator |