vue-i18n-jest

vue-jest transformer for i18n custom blocks
97,586 7
Install
npm install vue-i18n-jest
Latest Version:1.1.1
Vue:2
License:MIT
Last Updated:Mar 4, 2023
Links: GitHub  ·  npm
Maintainer: kazupon

:globe_with_meridians: vue-i18n-jest

Test npm codecov

vue-jest transformer for i18n custom blocks

:warning: NOTE: This transformer is for vue-jest@v4

:cd: Installation

npm

npm install --save-dev vue-i18n-jest

yarn

yarn add -D vue-i18n-jest

:rocket: Usages

To define vue-i18n-jest as a transformer for your .vue files that have i18n custom blocks, map them to the vue-i18n-jest module.

if you've already setup vue-jest, You can change it as follows:

module.exports = {
  globals: {
    'vue-jest': {
      transform: {
        'i18n': 'vue-i18n-jest'
      }
    }
  }
}

:scroll: Changelog

Details changes for each release are documented in the CHANGELOG.md.

:exclamation: Issues

Please make sure to read the Issue Reporting Checklist before opening an issue. Issues not conforming to the guidelines may be closed immediately.

:white_check_mark: TODO

Managed with GitHub Projects

:copyright: License

MIT

Related Packages

vue-i18n-locale-message

i18n locale messages management tool / library for vue-i18n

91,353 73
zod-vue-i18n

Translating zod error messages with vue-i18n.

74,033 26
vue-i18n-lite

A super lightweight and minimal plugin that introduces internationalization into...

9,012 14
@volverjs/zod-vue-i18n

Translating zod error messages with vue-i18n.

5,266 26
@i18n-micro/test-utils

Testing helpers for Nuxt I18n Micro (translations, locales, formatting mocks).

152,219 251

Version History

Version Released License
1.1.1 MIT
1.1.0 MIT
1.0.0 MIT
0.2.1 MIT
0.2.0 MIT