vue-i18n-locale-message
vue-i18n-locale-message copied to clipboard
:globe_with_meridians: i18n locale messages management tool for vue-i18n
The return value is a boolean, which is difficult to use, so I want to change the return value of the diff API to an object. For example, ``` const...
For the future, we will integrate to [`@intlify/cli`](https://github.com/intlify/cli) so, this CLI and library may be deprecated in the future.
### Codes `src/Greeting.vue`: ```vue ... ... ... { "ja": { "good_morning": "おはよう" } } { "ja": { "good_evening": "こんばんわ" } } ``` ### reproduction step ```sh vue-i18n-locale-message squeeze -t=./src vue-i18n-locale-message...
https://github.com/i18next/i18next-parser this project not support vue file format. it would be great to add the ability to get substrings and store in json in i18next format. thanx
https://github.com/mrmlnc/fast-glob
```bash $ npx vue-i18n-locale-message squeeze --target=. --output=./translated.json npx: installed 71 in 6.32s Cannot read property 'split' of undefined ``` I suppose this is caused by this line: https://github.com/kazupon/vue-i18n-locale-message/blob/7f2e0af4dea7710788bb8bd81b573cb60c8bbccd/src/utils.ts#L42 While `path.parse('.')`...
## API ```js type Option = { casing?: 'caml' | 'snake' | 'kebab' } sqeeze (basePath: string, files: SFCFileInfo[], option = { casing: 'caml' }: : Option): LocaleMessages infuse (basePath:...
## API ```js type Option = { sort?: 'asc' | 'desc' } sqeeze (basePath: string, files: SFCFileInfo[], option = { sort: 'asc' }: : Option): LocaleMessages ``` ## CLI ```sh...
### API Spec: TBD ### CLI ```sh vue-i18n-locale-message duplicate --target=./src ``` We should be more discussion.
## API Spec: TBD ## CLI ```sh vue-i18n-locale-message rollup --target=./src ``` We should be more discussion.