vue-i18n
vue-i18n copied to clipboard
Vue I18n for Vue 3
### Reporting a bug? [Example from documentation](https://vue-i18n.intlify.dev/api/composition.html#tm-key) not working correctly. tm - returns `numer` type when you try to iterate via array ### Expected behavior `content` variable type should be...
Closes #1124 Closes https://github.com/nuxt-modules/i18n/issues/1753 This PR adds type safety for message translations when used with helpers like t(). The reason it's a breaking change is because it's more strict, which...
### Reporting a bug? When using implicit fallback values it would make sense not to throw warnings because this is intended. Example: You are using `en-GB` and `en-US` as languages....
## reference >vue-i18n API documentation does not mention that an error is raised if an unexpected ?>value is specified. >https://vue-i18n.intlify.dev/api/composition.html#composernumberformatting >I think it would help to mention it in the...
### Reporting a bug? te function returns false for de-AT locale although t function is able to fallback to language de. ### Expected behavior I think it is problematic that...
### Reporting a bug? `npx vite-bundle-visualizer`:  The message compiler is still part of the build. Why? ### Expected behavior The message compiler should not be here, right? ### Reproduction...
### Clear and concise description of the problem Sometimes values are undefined within an application, unfortunately this will throw a 500 error (at least in Nuxt) so the whole page...
### Reporting a bug? The `$t` global function in SFCs' templates don't seem to support global TypeScript definitions.  The [documentation](https://vue-i18n.intlify.dev/guide/advanced/typescript.html#global-resource-schema-type-definition) regarding this topic doesn't...
### Clear and concise description of the problem I'm currently unable to come up with a simple solution to: ```json { "en": { "message": { "hits": "No hits | One...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [rollup](https://rollupjs.org/) ([source](https://togithub.com/rollup/rollup)) | [`^3.29.2` -> `^4.0.0`](https://renovatebot.com/diffs/npm/rollup/3.29.4/4.18.0) |...