vue-i18n-extract icon indicating copy to clipboard operation
vue-i18n-extract copied to clipboard

Manage vue-i18n localization with static analysis

Results 46 vue-i18n-extract issues
Sort by recently updated
recently updated
newest added

When trying to read `.po`-based language files, I run into a `SyntaxError: Unexpected string` based on this call (in an `else`-closure): https://github.com/pixari/vue-i18n-extract/blob/1ed4c301636c73cd0cc32e94109bc7e02d7880e6/src/create-report/language-files.ts#L33 It looks like there is no support for...

enhancement

This feature was implemented and merged in https://github.com/pixari/vue-i18n-extract/pull/51. And it got reverted somewhere in between 1.0.3 and 1.1.0: https://github.com/pixari/vue-i18n-extract/compare/v.1.0.3...v.1.1.0 Was any reasoning to do that? Please consider implementing it back....

### Acceptance Criteria - [ ] Pug component templates must be supported - [ ] cover new cases with unit test #### Info Consider this solution provided by @gilles-crealp: ```...

enhancement

### Acceptance criteria - [ ] The output file's keys are alphabetically sorted - [ ] Add unit test for the new cases #### Info See #99

enhancement

See #182 Some help with the RegEx would be appreciated :)

[Linked messages](https://vue-i18n.intlify.dev/guide/essentials/syntax.html#linked-messages) can be used to combine existing messages into one larger message. From what I can tell, `vue-i18n-extract` only checks the `vueFiles` to determine if a message is used...

Correct me if I am wrong but it doesn't appear to bother scanning the local section in SFCs?

Can you provide additional options to createI18NReport? I don't want to see the console for the missingKey list. Could you please add the corresponding console exposure option? like this ```javascript...

``` > vue-i18n-extract report --vueFiles './resources/js/**/*.?(js|vue)' --languageFiles './resources/lang-js/*.?(json|yml|yaml|js)' --remove --add --missing-translation-string [vue-i18n-extract] CACError: Unknown option `--missingTranslationString` at Command.checkUnknownOptions (/var/www/ekarto-dev/node_modules/cac/dist/index.js:404:17) at CAC.runMatchedCommand (/var/www/ekarto-dev/node_modules/cac/dist/index.js:602:13) at CAC.parse (/var/www/ekarto-dev/node_modules/cac/dist/index.js:541:12) at Object. (/var/www/ekarto-dev/node_modules/vue-i18n-extract/bin/vue-i18n-extract.js:56:5)` ``` I...