npm install
npm run serve
npm run build
npm run test:e2e
npm run lint
wis2box-ui has multilingual support via vue i18n.
To add a supported locale to wis2box-ui, create a branch of wis2box-ui and navigate to wis2box-ui/src/locales/
. From there, create a copy of _template.json
with the name of the new locale as the name of the file (i.e. en.json
, en-US.json
, etc...). Create entries for the empty double quoted fields and submit a pull request back into the main branch. The default language of wis2box-ui is Enligsh (en).
git clone https://github.com/wmo-im/wis2box-ui.git
cd ./src/locales
cp _template.json de.json
At this point, you can cross reference language support with a command like:
cat en.json
Then to edit the german locale:
vi de.json
# create release (x.y.z is the release version)
vi package.json # update "version"
vi package-lock.json # update 'version' and 'packages."".version
git commit -am 'update release version x.y.z'
git push origin main
git tag -a x.y.z -m 'tagging release version x.y.z'
git push --tags
# publish release on GitHub (https://github.com/wmo-im/wis2box-ui/releases/new)
All bugs, enhancements and issues are managed on GitHub.