We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when the locales file is the .js file, the messges is empty. try to rename xxx.json it can work.
.js
xxx.json
plugin setting:
files:
use:
import { createI18n } from 'vue-i18n' import messages from '@intlify/unplugin-vue-i18n/messages' export let i18n function createI18nOptions() { // ... return { messages, locale: 'zh', sync: true, legacy: false, missingWarn: false, fallbackLocale: 'zh', silentTranslationWarn: true, silentFallbackWarn: true } }
can include js files
non
unplugin-vue-i18n
System: OS: Windows 10 10.0.19045 CPU: (4) x64 Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz Memory: 6.55 GB / 15.89 GB Binaries: Node: 16.20.0 - E:\nodejs\node.EXE Yarn: 1.22.19 - E:\nvm\npm\yarn.CMD npm: 9.6.5 - E:\nvm\npm\npm.CMD pnpm: 8.7.5 - E:\nodejs\pnpm.CMD Browsers: Edge: Spartan (44.19041.1266.0), Chromium (116.0.1938.81) Internet Explorer: 11.0.19041.1566
No response
The text was updated successfully, but these errors were encountered:
like #266
Sorry, something went wrong.
Thank you for your reporting! We need your minimal reproduction with github repo or stackbliz. Could you give us about it ,please?
No branches or pull requests
Reporting a bug?
when the locales file is the
.js
file, the messges is empty. try to renamexxx.json
it can work.plugin setting:
files:
use:
Expected behavior
can include js files
Reproduction
non
Issue Package
unplugin-vue-i18n
System Info
Screenshot
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: