i18next / ng-i18next

translation for AngularJS using i18next
https://github.com/i18next/ng-i18next
MIT License
161 stars 54 forks source link

Question: Extracting translations. #97

Closed anthonyhastings closed 9 years ago

anthonyhastings commented 9 years ago

Hey,

I'm wondering how users of this package are maintaining their POT files. Are people doing it all manually or is there an existing tool that can look through JS / Template files and pick out the angular wrapped translations, and form a POT file?

Any help on this matter would be greatly appreciated!

Thanks, Anthony

bugwelle commented 9 years ago

I do this manually ;) But have a look at this project: https://github.com/i18next/i18next-parser

"A simple command line and gulp plugin that lets you parse your code and extract the translations keys in it."

anthonyhastings commented 9 years ago

Thanks for the information!

bugwelle commented 9 years ago

I'm glad to help you ;)