خرید بک لینک

Vote count: 0

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?

asked 51 secs ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 24 فروردين 1395 ساعت: 16:02

صفحه بندی