Directory

← Back

app-localize-chrome-i18n-mixin

Mixin to localize Polymer applications with Chrome i18n translation files

Author

Contributors

Rating

[ 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.

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Dependencies

Polymer/polymer#^2.0.0

  • Collaborne/app-localize-behavior#fix/103
Released
2018-11-06
Maturity
IMPORTED
License
Apache License 2.0

Compatibility

Framework
Polymer 2.0+
Browser
Browser Independent

app-localize-chrome-i18n-mixin - Vaadin Add-on Directory

Mixin to localize Polymer applications with Chrome i18n translation files app-localize-chrome-i18n-mixin - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/Collaborne/app-localize-chrome-i18n-mixin](https://github.com//Collaborne/app-localize-chrome-i18n-mixin/blob/v2.2.6/README.md) on 2019-05-22 ]** # app-localize-chrome-i18n-mixin [![Build Status](https://travis-ci.org/Collaborne/app-localize-chrome-i18n-mixin.svg?branch=master)](https://travis-ci.org/Collaborne/app-localize-chrome-i18n-mixin) [![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/Collaborneapp-localize-chrome-i18n-mixin) [![Stars on vaadin.com/directory](https://img.shields.io/vaadin-directory/star/Collaborneapp-localize-chrome-i18n-mixin.svg)](https://vaadin.com/directory/component/Collaborneapp-localize-chrome-i18n-mixin) _[Blog post about the element](https://medium.com/collaborne-engineering/localize-polymer-apps-with-translation-platform-46a2acb9373b)_ Mixin to localize Polymer applications with [Chrome i18n](https://developer.chrome.com/extensions/i18n) translation files. The mixin is a thin wrapper around (_a forked version of_) [``](https://github.com/PolymerElements/app-localize-behavior). Chrome i18n translation files have these advantages over the localization files required by ``: - 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](https://docs.transifex.com/formats/chrome-json). This avoids the build step to transform output from a translation platform to the `` 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. 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.
Online