🏳️Add your own language
After the build process, JSON files are converted to JS files to enhance performance, which can make adding a new language somewhat challenging.
Install the source code (Tutorial)
Create a new json file in
vuejs/public/locales/
Run
npm run build
in your command prompt after creating the JSON fileAdd the newly created
html
folder to your non-source code resource directory in your codebase
Avoid using the source code resource as a general script.
Consider creating a pull request for others who may want to use the same language.
Last updated