Extract translatable strings from Prado Localization Tags (i.e. <%[string]%>
).
It can be used stand-alone or through xgettext-template.
- Install xgettext-template:
npm i xgettext-template -g
- Install gettext-prado
npm update gettext-prado -g
- Run xgettext specifying the language:
xgettext-template --from-code utf-8 -L prado -o messages.pot
git clone git@github.com:smhg/gettext-prado.git
npm i
npm run lint
npm test