vue-i18n

Vue I18n for Vue 3

MIT License

Downloads
19.2M
Stars
2.1K

Bot releases are hidden (Show)

vue-i18n - v9.0.0-beta.3

Published by kazupon about 4 years ago

v9.0.0-beta.3 (2020-09-25)

⭐ Features

  • #122 feat: global props and methods injection for composable mode (@kazupon)

⚡ Improvement Features

Committers: 2

vue-i18n - v9.0.0-beta.2

Published by kazupon about 4 years ago

v9.0.0-beta.2 (2020-09-17)

⭐ Features

⚡ Improvement Features

Committers: 1

vue-i18n - v9.0.0-beta.1

Published by kazupon about 4 years ago

v9.0.0-beta.1 (2020-09-13)

🐛 Bug Fixes

⚡ Improvement Features

Committers: 1

vue-i18n - v9.0.0-alpha.17

Published by kazupon about 4 years ago

v9.0.0-alpha.17 (2020-09-02)

⚡ Improvement Features

  • #104 improvement: tweaks interface for devtools (@kazupon)

Committers: 1

vue-i18n -

Published by kazupon about 4 years ago

v9.0.0-alpha.16 (2020-08-29)

🐛 Bug Fixes

Committers: 1

vue-i18n -

Published by kazupon about 4 years ago

v9.0.0-alpha.15 (2020-08-27)

🐛 Bug Fixes

Committers: 1

vue-i18n - v9.0.0-alpha.14

Published by kazupon about 4 years ago

v9.0.0-alpha.14 (2020-08-26)

⭐ Features

Committers: 2

vue-i18n - v9.0.0-alpha.13

Published by kazupon about 4 years ago

v9.0.0-alpha.13 (2020-08-07)

⭐ Features

🐛 Bug Fixes

⚡ Improvement Features

💥 Breaking Change

Committers: 1

vue-i18n - v9.0.0-alpha.12

Published by kazupon over 4 years ago

v9.0.0-alpha.12 (2020-06-27)

🐛 Bug Fixes

Committers: 1

vue-i18n - v9.0.0-alpha.11

Published by kazupon over 4 years ago

v9.0.0-alpha.11 (2020-06-14)

🐛 Bug Fixes

Committers: 1

vue-i18n - v9.0.0-alpha.10

Published by kazupon over 4 years ago

v9.0.0-alpha.10 (2020-06-03)

⭐ Features

  • #58 feat: componentInstanceCreatedListener option (@kazupon)
  • #55 feat: support components maually instalation (@kazupon)

⚡ Improvement Features

  • #57 improve: accept object resource custom block (@kazupon)

Committers: 1

vue-i18n - v9.0.0-alpha.9

Published by kazupon over 4 years ago

v9.0.0-alpha.9 (2020-05-25)

⭐ Features

🐛 Bug Fixes

💥 Breaking Change

  • #47 breaking: change default of tag prop at i18n-n and i18n-d components (@kazupon)
  • #43 breaking: rename plugin option name (@kazupon)

Committers: 1

vue-i18n - v9.0.0-alpha.8

Published by kazupon over 4 years ago

v9.0.0-alpha.8 (2020-05-08)

💥 Breaking Change

Committers: 1

vue-i18n - v9.0.0-alpha.7

Published by kazupon over 4 years ago

v9.0.0-alpha.7 (2020-05-02)

🐛 Bug Fixes

  • #34 fix: pre-compile locale messages registration bug (@kazupon)

Committers: 1

vue-i18n - v9.0.0-alpha.6

Published by kazupon over 4 years ago

v9.0.0-alpha.6 (2020-05-02)

⭐ Features

Committers: 1

vue-i18n - v9.0.0-alpha.5

Published by kazupon over 4 years ago

v9.0.0-alpha.5 (2020-04-29)

⭐ Features

🐛 Bug Fixes

⚡ Improvement Features

💥 Breaking Change

Committers: 1

vue-i18n - v9.0.0-alpha.4

Published by kazupon over 4 years ago

v9.0.0-alpha.4 (2020-04-23)

🐛 Bug Fixes

📝 Documentation

Committers: 2

vue-i18n - v9.0.0-alpha.3

Published by kazupon over 4 years ago

v9.0.0-alpha.3 (2020-04-17)

⚡ Improvement Features

Committers: 1

vue-i18n - v9.0.0-alpha.2

Published by kazupon over 4 years ago

v9.0.0-alpha.2 (2020-04-13)

⭐ Features

💥 Breaking Change

  • #8 enhancement locale fallbacking (@kazupon)
  • #7 Translation component i18n-t (In v8.x, it was called i18n component as Component interpolation feature) (@kazupon)
  • #6 breaking: factory improvements (@kazupon)

Committers: 1

vue-i18n - v9.0.0-alpha.1

Published by kazupon over 4 years ago

v9.0.0-alpha.1 (2020-04-07)

⭐ New Features

Composable API

New style API for Vue 3. See the following docs:

🍭 Examples

See the examples directory.

The examples are offered that use the following two API styles:

  • composable
    • new vue-i18n API optimized for Vue 3. details about API
  • legacy
    • vue-i18n API almost compatible with vue-i18n v8.x

❗ Known issues

💥 Breaking changes compared to vue-i18n v8.x

  • API
    • The return value of $t and t methods is string only. object and array values ​​are no longer returned.
    • The return value of $tc and tc methods is string only. object and array values ​​are no longer returned.
    • VueI18n class cannot used with new. It can only be used via the $i18n property of Vue instance.
      • In vue-i18n-next, by replacing new VueI18n with createI18n, you can use existing VueI18n options as they are.
      • See the examples/legacy directory.
    • VueI18n.prototype.getChoiceIndex
      • -> Legacy API style: pluralizationRules option of createI18n factory function (like new VueI18n(...))
      • -> Compsable API style: pluralRules option of createI18nComposer facatory function
    • VueI18n.version -> import { VERSION } from 'vue-i18n'
    • VueI18n.availabilities -> import { availabilities } from 'vue-i18n'
    • See the details here

⚡ Improvements

🔨 Missing features

  • imporve fallbackLocale or fallbackLocales (related vue-i18n issue)
  • <i18n> custom block supporting for SFC
  • v-t directive
  • preserveDirectiveContent option (depend on v-t)
  • Compoonent interpolation with <i18n> component
  • Number custom formatting with <i18n-n> component
  • HTML format suppression with warnHtmlInMessage option
  • SSR
  • Custom formatting
  • Tooling
    • vue-cli-plugin-i18n
    • @intlify/vue-i18n-loader
    • @intlify/rollup-plugin-vue-i18n
    • @intlify/vue-i18n-extensions
    • @intlify/eslint-plugin-vue-i18n

💿 Installation

npm

npm install --save vue-i18n@next

yarn

yarn add vue-i18n@next

Committers: 1