motomac Posted January 30, 2016 Posted January 30, 2016 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?
teraßyte Posted January 30, 2016 Posted January 30, 2016 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.
motomac Posted January 31, 2016 Author Posted January 31, 2016 @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?
teraßyte Posted January 31, 2016 Posted January 31, 2016 Yes, the strings get added to the language pack and you can translate them just like usual.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.