vue-i18n

Vue I18n for Vue 3

MIT License

Downloads
19.2M
Stars
2.1K

Bot releases are visible (Hide)

vue-i18n - v10.0.4 Latest Release

Published by github-actions[bot] 14 days ago

What's Changed

๐Ÿ› Bug Fixes

๐Ÿ“๏ธ Documentations

New Contributors

Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.3...v10.0.4

vue-i18n - v9.14.1

Published by github-actions[bot] 23 days ago

What's Changed

๐Ÿ› Bug Fixes

Full Changelog: https://github.com/intlify/vue-i18n/compare/v9.14.0...v9.14.1

vue-i18n - v10.0.3

Published by github-actions[bot] 27 days ago

What's Changed

๐Ÿ› Bug Fixes

๐Ÿ“๏ธ Documentations

Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.2...v10.0.3

vue-i18n - v10.0.2

Published by github-actions[bot] 28 days ago

What's Changed

โšก Improvement Features

๐Ÿ“๏ธ Documentations

Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.1...v10.0.2

vue-i18n - v10.0.1

Published by github-actions[bot] about 1 month ago

What's Changed

๐Ÿ› Bug Fixes

New Contributors

Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.0...v10.0.1

vue-i18n - v10.0.0

Published by github-actions[bot] about 1 month ago

We are excited to announce the release of Vue I18n v10.
We had many contributors.

Thanks for your contributing โค๏ธ

Summary

petite-vue-i18n General Availability

petite-vue-i18n is an alternative distribution of Vue I18n, providing only minimal features.

If you don't need the full functionality of vue-i18n and are just looking for basic translation features with a smaller footprint, this will suit your use case.

For more details, please see the docs.

JIT Compilation Enabled by Default

JIT compilation was introduced in v9.3, but it was not enabled by default.

However, it had the following issues:

  • CSP restrictions: Difficult to work with service/web workers, edge-side runtimes of CDNs, etc.
  • Backend integration: Hard to fetch messages from a backend (e.g., a database via API) and localize them dynamically.

Starting from v10, JIT compilation is enabled by default.

Support for Generated Locale Types

We provide an interface to extend the Locale type in TypeScript, similar to ComponentCustomProperties in Vue.

This feature is useful when using vue-i18n as part of a framework.

For more details, see the PR for the Nuxt I18n use case.

Changes to $t and t Overload Signatures for Legacy API Mode

In Vue I18n v9, $t and t had different overload signatures in Composition API mode compared to Legacy API mode.

When migrating from Legacy API mode to Composition API mode, these differences sometimes caused confusion.

Starting from v10, Legacy API mode will use the same $t and t overload signatures as Composition API mode.

For details on the signature pattern, see the migration guide.

Deprecation of tc and $tc for Legacy API Mode

The t and $t functions already support pluralization, so tc and $tc can be replaced.

In v10, tc and $tc still exist to aid in migration, but they will be fully removed in v11.

If you use them, Vue I18n will display a console warning in your application.

For migration instructions, see the docs.

Dropping Deprecated Features from v9

Some features were marked as deprecated in v9 with warnings.

These deprecated features will be completely removed in v10.

For more details on the deprecated features, see the docs.

๐ŸŒŸ Features

โ— Braeking Changes

โšก Improvement Features

โœ๏ธ Documentation & Sample Updates

๐Ÿ› Bug Fixes

New Contributors

Full Changelog: https://github.com/intlify/vue-i18n/compare/v9.13.1...v10.0.0

vue-i18n - v10.0.0-rc.1

Published by github-actions[bot] about 1 month ago

What's Changed

โšก Improvement Features

Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.0-beta.6...v10.0.0-rc.1

vue-i18n - v10.0.0-beta.6

Published by github-actions[bot] about 2 months ago

What's Changed

๐Ÿ› Bug Fixes

๐Ÿ“๏ธ Documentations

๐Ÿญ Examples

New Contributors

Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.0-beta.5...v10.0.0-beta.6

vue-i18n - v9.14.0

Published by github-actions[bot] 2 months ago

What's Changed

โšก Improvement Features

Full Changelog: https://github.com/intlify/vue-i18n/compare/v9.13.1...v9.14.0

vue-i18n - v10.0.0-beta.5

Published by github-actions[bot] 3 months ago

What's Changed

๐Ÿ“๏ธ Documentations

Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.0-beta.4...v10.0.0-beta.5

vue-i18n - v10.0.0-beta.4

Published by github-actions[bot] 3 months ago

What's Changed

๐ŸŒŸ Features

๐Ÿ“๏ธ Documentations

New Contributors

Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.0-beta.3...v10.0.0-beta.4

vue-i18n - v10.0.0-beta.3

Published by github-actions[bot] 3 months ago

What's Changed

โšก Improvement Features

Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.0-beta.2...v10.0.0-beta.3

vue-i18n - v10.0.0-beta.2

Published by github-actions[bot] 4 months ago

What's Changed

๐Ÿ› Bug Fixes

๐Ÿ“๏ธ Documentations

New Contributors

Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.0-beta.1...v10.0.0-beta.2

vue-i18n - v10.0.0-beta.1

Published by github-actions[bot] 5 months ago

What's Changed

๐ŸŒŸ Features

๐Ÿ› Bug Fixes

๐Ÿ“๏ธ Documentations

New Contributors

Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v10.0.0-alpha.5...v10.0.0-beta.1

vue-i18n - v10.0.0-alpha.5

Published by github-actions[bot] 5 months ago

What's Changed

๐ŸŒŸ Features

๐Ÿ› Bug Fixes

๐Ÿ“ˆ Performance Fixes

๐Ÿ“๏ธ Documentations

New Contributors

Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v10.0.0-alpha.4...v10.0.0-alpha.5

vue-i18n - v10.0.0-alpha.4

Published by github-actions[bot] 5 months ago

What's Changed

๐ŸŒŸ Features

๐Ÿ› Bug Fixes

๐Ÿ’ฅ Breaking Changes

โš ๏ธ Deprecated Features

โšก Improvement Features

Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v10.0.0-alpha.3...v10.0.0-alpha.4

vue-i18n - v10.0.0-alpha.3

Published by github-actions[bot] 6 months ago

What's Changed

๐Ÿ’ฅ Breaking Changes

โšก Improvement Features

๐Ÿ“๏ธ Documentations

New Contributors

Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v10.0.0-alpha.2...v10.0.0-alpha.3

vue-i18n - v10.0.0-alpha.2

Published by github-actions[bot] 6 months ago

What's Changed

๐Ÿ› Bug Fixes

๐Ÿ’ฅ Breaking Changes

New Contributors

Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v10.0.0-alpha.1...v10.0.0-alpha.2

vue-i18n - v10.0.0-alpha.1

Published by github-actions[bot] 6 months ago

What's Changed

๐Ÿ’ฅ Breaking Changes

Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.13.1...v10.0.0-alpha.1

vue-i18n - v9.13.1

Published by github-actions[bot] 6 months ago

What's Changed

๐Ÿ› Bug Fixes

Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.13.0...v9.13.1

Package Rankings
Top 0.75% on Npmjs.org
Top 8.51% on Repo1.maven.org
Badges
Extracted from project README
CI vue-i18n petite-vue-i18n vue-i18n-bridge @intlify/core @intlify/core-base @intlify/message-compiler @intlify/shared @intlify/vue-i18n-extensions @intlify/eslint-plugin-vue-i18n intlify/cli @intlify/unplugin-vue-i18n vue-i18n-jest vue-i18n-locale-message