Translation in JavaScript like gettext in PHP?
- by NeoNmaN
I am using gettext in my PHP code, but i have a big problem. All my Javascript files are not affected by the translation, can somebody tell me an easy way to get the translations in the chosen language into JavaScript as well.