Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 30, 20168 yr lang.php creates new translatable language strings in your language pack, but what does jslang.php actually do? Does it create a new language strings like lang.php or not? Can these two files have the same strings or not?
January 30, 20168 yr jslang.php adds strings on the javascript side and every string you put in there will always be loaded to be available/used in javascript.
January 31, 20168 yr Author @teraßyte will these strings be added into the language pack and become translatable? If, for example, I need one same string in PHP and JS, should I duplicate it into lang.php and jslang.php?
January 31, 20168 yr Yes, the strings get added to the language pack and you can translate them just like usual.
Archived
This topic is now archived and is closed to further replies.