vue-cli-plugin-i18n
vue-cli-plugin-i18n copied to clipboard
:globe_with_meridians: Vue CLI plugin to add vue-i18n to your Vue Project
Version 1.0.2 depends on dot-object@^1.7.1 which is vulnerable to prototype pollution. Closes #262
Bumps [terser](https://github.com/terser/terser) from 4.6.11 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) v4.8.0 Support for numeric separators (million...
Bumps [terser](https://github.com/terser/terser) from 4.6.11 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) v4.8.0 Support for numeric separators (million...
**Module versions (please complete the following information):** - `"@vue/cli-service": "~4.5.0"` - `vue-cli-plugin-i18n`: 2.3.1 **Expected behavior** Should not cause security alerts by depending on an exact but outdated version of `vue-i18n-extract`...
https://github.com/intlify/vue-cli-plugin-i18n/blob/fdc4fc04e1e9d3955907b47d9151f50d6530d2dc/index.js#L31 pnpm store package in a different way, so `../../src` is not point to project src folder vue inspect --rule i18n-resource ```javascript /* config.module.rule('i18n-resource') */ { test: /\.(json5?|ya?ml)$/, type: 'javascript/auto',...
This PR modified i18n.js (or .ts) so that multiple files from src/locales can be used as translations for every locale. Having translations in multiple files like en.menu.json, en.articles.json,... makes maintenance...
Would be nice if `vue-cli-service i18n:report` command would have non-zero exit code if there are missing or unused keys. And also option to check only fallback locale (or specific locale)...
The `locale`, the `fallbackLocale` and the `localeDir` is defined in `i18n.js` as well as in the pluginOptions of `vue.config.js`. How come? What's the benefit? I've now removed those properties from...
Translation UI will be stuck if we have a long json file, for example, I have near 2000 keys in `en.json` when I open it then it will be stuck...
### Environment info ``` System: OS: Windows 10 10.0.19042 CPU: (8) x64 Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz Binaries: Node: 14.15.0 - ~\AppData\Roaming\JetBrains\PyCharm2021.2\node\node-v14.15.0-win-x64\node.EXE Yarn: Not Found npm: 6.14.8 - ~\AppData\Roaming\JetBrains\PyCharm2021.2\node\node-v14.15.0-win-x64\npm.CMD...