intlify / intlify/cli

feature: `intlify transform`

Open
#63 1 comment 0 reactions 0 assignees View on GitHub
Status: Proposal Type: Feature
Dominant language
TypeScript
Stars
9
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### Clear and concise description of the problem

related from
https://github.com/nuxt-community/i18n-module/issues/1481#issuecomment-1229482723

If we are already using vue-i18n v8 and operating with the localize service, we will need to convert your resource format to vue-i18n v9 because it is incompatible.

- special characters
https://vue-i18n.intlify.dev/guide/essentials/syntax.html#special-characters

### Suggested solution

We suggestion a new command `transform` to convert the resource from vue-i18n v8 to v9.

By providing this command, it is also possible to convert in a CI environment such as github actions.

### Alternative

_No response_

### Additional context

_No response_

### Validations

- [X] Read the [Contributing Guidelines](https://github.com/intlify/cli/blob/main/.github/CONTRIBUTING.md)
- [X] Read the [Documentation](https://github.com/intlify/cli/blob/main/README.md)
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.