Mixin to localize Polymer applications with Chrome i18n translation files

[ This description is mirrored from README.md at github.com/Collaborne/app-localize-chrome-i18n-mixin on 2019-05-22 ]

app-localize-chrome-i18n-mixin Build Status

Published on Vaadin  Directory Stars on vaadin.com/directory

Blog post about the element

Mixin to localize Polymer applications with Chrome i18n translation files. The mixin is a thin wrapper around (a forked version of) <app-localize-behavior>.

Chrome i18n translation files have these advantages over the localization files required by <app-localize-behavior>:

  • Each message can be supplemented by a description, which gives translators additional context.

  • Chrome i18n is a widely used standard, which is supported by translation platforms like Transifex. This avoids the build step to transform output from a translation platform to the <app-localize-behavior> localization file.

To use the mixin:

bower install app-localize-chrome-i18n-mixin

License

This software is licensed under the Apache 2 license, quoted below.

Copyright 2011-2017 Collaborne B.V. <http://github.com/Collaborne/>

Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.

Install

Link to this version
ImportedReleased 06 November 2018Apache License 2.0
Framework Support
Polymer 2.0+
Browser Compatibility
Install with
Release notes - Version 2.2.6

Dependencies

Polymer/polymer#^2.0.0

  • Collaborne/app-localize-behavior#fix/103