Skip to content

Releases: t2ym/i18n-behavior

Stable Release 1.1.0

27 Jun 09:34
Compare
Choose a tag to compare

New Features

Modules

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

Stable Release 1.0.0

29 Mar 15:06
Compare
Choose a tag to compare

Features

  • 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 of dom-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 strings
  • this.model object deepcopied from this.text.model object per instance to access localized attribute strings
  • i18n-attr-repo to maintain repository of I18N target attributes
  • gulp-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

Known Limitation

  • On Safari 7, lang property cannot be bound as {{lang}} or {{f(lang)}} due to the root cause of Issue #36. The property effectiveLang can be safely used instead.

Modules

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

Pre-Release 0.0.36 (beta for Release 0.1.0)

29 Feb 09:12
Compare
Choose a tag to compare
  • Fix #17. [Polymer 1.3.0] observeHtmlLang is undefined in i18n-dom-bind
  • Specify polymer dependency as version ^1.2.4 to support 1.2.4 and later

Pre-Release 0.0.34

23 Feb 14:40
Compare
Choose a tag to compare
Pre-Release 0.0.34 Pre-release
Pre-release
  • Support Polymer 1.3.0 including Internet Explorer 11/10
  • Fix #16. Patching the missing property effects for lang by Polymer.Base._createAccessors() if it is missing
  • Add minified test suites

Pre-Release 0.0.29 (beta for Release 0.1.0)

22 Feb 04:10
Compare
Choose a tag to compare
  • Make test suites several times faster than Pre-Release 0.0.28 by skipping redundant test setup processes
  • Test targeted browsers: Chrome, Firefox, Microsoft Edge, IE 11/10, Safari 9/8/7
  • Add Testing section to README.md

Pre-Release 0.0.28 (beta for Release 0.1.0)

21 Feb 15:14
Compare
Choose a tag to compare
  • Add tests for preprocessed templates by gulp-i18n-preprocess 0.0.19
  • Add tests for vulcanized templates by gulp-vulcanize with bundled localized JSON files
  • Run all the same tests as run-time I18N (original source) with preprocessed and vulcanized templates
  • Separate test in 3 phases to reduce test VM concurrency
  • Target browsers are Chrome, Firefox, Microsoft Edge, Internet Explorer 11/10, Safari 9/8/7

Pre-Release 0.0.27 (beta for Release 0.1.0)

20 Feb 05:18
Compare
Choose a tag to compare
  • Fix #13 IE10 compatibility for i18n-dom-bind
  • Add tests on compound binding
  • Add tests on i18n-dom-bind with simple text, simple attribute, and compound bindings

Pre-Release 0.0.26 (beta for Release 0.1.0)

18 Feb 05:14
Compare
Choose a tag to compare
  • Use i18n-format version 0.1.5 with broader browser support
  • Add test on all the default browsers including Chrome, Firefox, Microsoft Edge, Internet Explorer 10/11, Safari 7/8/9

Pre-Release 0.0.25 (beta for 0.1.0)

16 Feb 12:24
Compare
Choose a tag to compare
Pre-release
  • Add Sauce Labs tests for Microsoft Edge, IE11, Safari 9 in addition to Firefox and Chrome
  • Add per-string language fallback tests

Pre-Release 0.0.24 (beta for 0.1.0)

15 Feb 10:12
Compare
Choose a tag to compare
Pre-release
  • Add tests for language fallback per module
  • Fix #10 Detached Ajax fetching instance is unexpectedly receiving response in language fallback
  • Fix #11 Fallback to default language produce console.error()