Skip to content

Extract translatable strings from Prado template strings

License

Notifications You must be signed in to change notification settings

epfl-si/gettext-prado

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gettext-prado build status

Extract translatable strings from Prado Localization Tags (i.e. <%[string]%>).

It can be used stand-alone or through xgettext-template.

How To

  1. Install xgettext-template:
npm i xgettext-template -g
  1. Install gettext-prado
npm update gettext-prado -g
  1. Run xgettext specifying the language:
xgettext-template --from-code utf-8 -L prado -o messages.pot

Development

Install

git clone git@github.com:smhg/gettext-prado.git
npm i

Test

npm run lint
npm test

About

Extract translatable strings from Prado template strings

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%