Add gettext support
Undum localization is good but it's not automated enough.
What I'm thinking is to have gettext's _()
function and write a gulp task to yank every translatable string from the JS-compiled source.
Then it's just a standard gettext's translation process.
Why is it necessary?
Because I don't want to update the localization array manually, check for duplicates and all that. It's hell and it really slows down the production.
An additional effect would be no redefining logic in translation files. I say that's mostly a good thing (there are so little edge cases).
HTML files would be unaffected, though. You'd be still translating them by hand.