I'm doing the inteationalization of a PHP project. in PHP I use the getttext() function and poedit program. example:
<?php
echo gettext("Hello world");
?>
Hello World will be the key with the associated translated words: It all works. I haven't any idea how to translate the .js file with html function of JQUERY.
For example: inside javascript file, I have
if(exchange=='mo'){
$(#hopen.title).html("NEW WORD");
}
the question is: How can I call the gettext function to "NEW WORD" and then use it with poedit program?
