Skip to content

v1.0.0: i18n for all

Choose a tag to compare

@antfu antfu released this 22 Nov 16:09

Vue i18n Ally is now i18n Ally

This extension is now come to v1.x stage! From v1.x, we make it not limited to support Vue but other frameworks such as React.js, Angular and more all in one extension!

Migration from Vue i18n Ally (v0.x)

There is not to much work to be done for this migration.

  1. Install the new i18n Ally from the marketplace
  2. Uninstall the old Vue i18n Ally.
  3. You are done. πŸŽ‰

Configurations are backward compatible. And all the features for Vue will work as it would do.

New Features

  • Support for Vue, React, Angular, i18next, VSCode extension and more. Check the Supported Frameworks List
  • Automatically detect what frameworks are using by reading package.json

Supported Frameworks

Framework Status Trigger Packages
Vue βœ… vue-i18n, vuex-i18n, vue-i18next, nuxt-i18n
Vue SFC βœ… @kazupon/vue-i18n-loader
React βœ… react-i18next, react-intl
Angular(native) Vote Here
Angular(ngx-translate) βœ… @ngx-translate/core
VSCode Extension βœ… vscode
i18next βœ… i18next
i18nTag βœ… es2015-i18n-tag

Breaking Changes

  • Extension and Repo are renamed to i18n-ally
  • Configures namespace is renamed to i18n-ally with legacy vue-i18n-ally backward compatibility.
  • Config forceEnabled is deprecated, use enabledFrameworks instead.
  • Config experimental.sfc is deprecated. It will be enabled automatically when you need it.

Changes

  • New Logo
  • Updated documents
  • Vue i18n Ally will disable itself when i18n Ally is installed.
  • i18n Ally comes to master branch and Vue i18n Ally is moved to branch v0.x

Commits

⚑ Features

  • support for i18n-tag (fb37acb)
  • vscode: support annonation in package.json (0e4086b)
  • add react-i18next framework support (3e5ee9c)
  • add support for react-intl (6e56515)
  • support general i18next (b23bd33)
  • framework: add ngx-translate support (652ce69)

🐞 Bug Fixes

  • key priority on sfc (3a4076b)
  • trigger of completion (84ca8e6)
  • filenameMatchRegex override (e04e51e)
  • key detector (98837fe)
  • namespace for tree views (7948dbf)
  • remove default values from some of settings (73def5c)