A Vue boilerplate written in TypeScript.
yarn install
yarn run serve
yarn run build
yarn run test
yarn run lint
- Install POEditor
- Add POEditor's
"extract tool"
(C:\Program Files (x86)\Poedit\GettextTools\bin
) to Environment Variables - check vue-gettext documentation for in-code usage, in general:
- use the
v-translate
directive and add av-translate-comment
for translators - use
this.$gettext('Something')
when in Javascript and add a js comment above
- use the
- run
yarn locale:extract
when done coding - open
\locale\template.pot
in POEditor - translate and create a
.po
file - save it in
\locale\translated
- run
yarn locale:compile