{"id":20817284,"url":"https://github.com/intlify/vue-i18n-jest","last_synced_at":"2025-05-11T21:30:40.111Z","repository":{"id":40291363,"uuid":"221276491","full_name":"intlify/vue-i18n-jest","owner":"intlify","description":":globe_with_meridians: vue-jest wrapper for i18n custom blocks","archived":true,"fork":false,"pushed_at":"2023-03-04T05:11:20.000Z","size":1567,"stargazers_count":7,"open_issues_count":20,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-19T21:29:40.526Z","etag":null,"topics":["i18n","jest","preset","transformer","vue","vue-i18n","vuejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/intlify.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"kazupon","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-11-12T17:42:19.000Z","updated_at":"2024-12-04T10:08:40.000Z","dependencies_parsed_at":"2024-06-19T01:44:58.870Z","dependency_job_id":null,"html_url":"https://github.com/intlify/vue-i18n-jest","commit_stats":{"total_commits":65,"total_committers":5,"mean_commits":13.0,"dds":"0.32307692307692304","last_synced_commit":"afaa5c3d4dd2e54760a5ef73cd2829672348cf25"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intlify%2Fvue-i18n-jest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intlify%2Fvue-i18n-jest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intlify%2Fvue-i18n-jest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intlify%2Fvue-i18n-jest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intlify","download_url":"https://codeload.github.com/intlify/vue-i18n-jest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253638742,"owners_count":21940415,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["i18n","jest","preset","transformer","vue","vue-i18n","vuejs"],"created_at":"2024-11-17T21:40:26.694Z","updated_at":"2025-05-11T21:30:37.171Z","avatar_url":"https://github.com/intlify.png","language":"JavaScript","funding_links":["https://github.com/sponsors/kazupon"],"categories":[],"sub_categories":[],"readme":"# :globe_with_meridians: vue-i18n-jest\n\n[![Test](https://github.com/kazupon/vue-i18n-jest/workflows/Test/badge.svg)](https://github.com/kazupon/vue-i18n-jest/workflows/Test/badge.svg)\n[![npm](https://img.shields.io/npm/v/vue-i18n-jest.svg)](https://www.npmjs.com/package/vue-i18n-jest)\n\nvue-jest transformer for i18n custom blocks\n\n## :warning: NOTICE\n`v2.x or later` is for [vue-i18n-next](https://github.com/intlify/vue-i18n-next) (Vue 3.x)\n\nIf you want to use for [vue-i18n@v8.x](https://github.com/kazupon/vue-i18n) (Vue 2.x), use the `v1.x`\n\nThis transformer is for `vue-jest@v5.x`\n\n## :cd: Installation\n\n### npm\n\n```sh\nnpm install --save-dev vue-i18n-jest\n```\n\n### yarn\n\n```sh\nyarn add -D vue-i18n-jest\n```\n\n## :rocket: Usages\n\nTo define vue-i18n-jest as a transformer for your .vue files that have i18n custom blocks, map them to the vue-i18n-jest module.\n\nif you've already setup vue-jest, You can change it as follows:\n\n```js\nmodule.exports = {\n  globals: {\n    'vue-jest': {\n      transform: {\n        'i18n': 'vue-i18n-jest'\n      }\n    }\n  }\n}\n```\n\n\n## :scroll: Changelog\nDetails changes for each release are documented in the [CHANGELOG.md](https://github.com/kazupon/vue-i18n-jest/blob/master/CHANGELOG.md).\n\n\n## :exclamation: Issues\nPlease make sure to read the [Issue Reporting Checklist](https://github.com/kazupon/vue-i18n-jest/blob/master/.github/CONTRIBUTING.md#issue-reporting-guidelines) before opening an issue. Issues not conforming to the guidelines may be closed immediately.\n\n## :white_check_mark: TODO\nManaged with [GitHub Projects](https://github.com/kazupon/vue-i18n-jest/issues?q=is%3Aissue+is%3Aopen+label%3ATODO)\n\n## :copyright: License\n\n[MIT](http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintlify%2Fvue-i18n-jest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintlify%2Fvue-i18n-jest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintlify%2Fvue-i18n-jest/lists"}