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
import ElementPlus from 'unplugin-element-plus/vite'; ElementPlus({ useSource: false, defaultLocale: 'zh-cn', })
The text was updated successfully, but these errors were encountered:
Method-1: You need to set the localeDetection as false:
e.g import ElementPlus from 'unplugin-element-plus/vite'; ElementPlus({ useSource: false, defaultLocale: 'zh-cn',, localeDetection: false, })
Resourses: 1-https://stackoverflow.com/questions/66730980/defaultlocale-is-not-keeping-default-lang-in-next-js-i18n
Method-2 2-https://www.npmjs.com/package/unplugin-element-plus
Under the second link check the following images/links:
Step1: Go the github page and check options
OR Step2: Click on 'here'
Step3: Check the 'zh-cn.ts'file
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: