Translation Problem between material.inc.php and #game#.js
Posted: 06 October 2024, 21:21
In material.inc.php I have an array of cards:
"desc" => clienttranslate("6 Points and 2 Special Points").
If I access this array in the js file with this.gamedatas.cards and render the "desc" in a div, the translation does not work?!
Second question: How can I test translations in a local game on studio server? Can I switch to another language to test my translations?
Thanks in advance
"desc" => clienttranslate("6 Points and 2 Special Points").
If I access this array in the js file with this.gamedatas.cards and render the "desc" in a div, the translation does not work?!
Second question: How can I test translations in a local game on studio server? Can I switch to another language to test my translations?
Thanks in advance