I found this cool js gettext library -> http://code.google.com/p/gettext-js/ but I don't understand how to implement it. I am using poedit to edit the translations and I can see that it works when I checkout the project and run the demo file but when I make changes to the text, the .po files don't get updated and I can't see the new text. Does anybody have any idea? Thanks!
"I also had to force python in the gettext command":
*.py;*.js
xgettext --language=Python --force-po -o %o %C %K %F
Done.
Thanks for leading me there Kentor :)