Skip to content

tap:i18n v1.0 New Feautres & Backward Compatibility

theosp edited this page Sep 24, 2014 · 1 revision

tap:i18n v1.0 New Features & Backward Compatibility

The build plugin of tap:i18n had been rewritten from scratch in v1.0 to support Meteor v0.9 and to introduce new features that were limited due to the previous build plugin architecture.

New Features

  • Server side internationalization is now supported.
  • The template translation helper name (_) and the package translation function name (__) are now customizable.
  • Transparent bundling, no need for special procedures for deploying project that uses tap-i18n.
  • Language files and project-tap.i18n can now be located anywhere in the project tree.
  • A project/package can now have more than one language file for the same language.
  • getLanguages() now works in both server and client.

Backward compatibility

  • package .i18n files now have to be added to both the client and the server architectures, not only the client.
  • The base language of a dialects are no longer added automatically as a supported language.
  • project-tap.i18n: languages_files_dir and build_files_path properties are now obsolete. browser_path property renamed to cdn_path.
  • package-tap.i18n: languages_files_dir is now obsolete.