Hi, I've got a doubt.
In my material.php I have a list of array that rappresent each game cards.
One of the "field" is a description.
Description is useful only on the client, to show the card effect inside a tooltip; they are never used server side.
These card objects are sent to the client through notifyPlayer methods or getAllDatas for setup and for any user refresh.
My question is: what are the right translate method for the cards description? clienttranslate() or _().
Reading documentation it seem that the right method is clienttranslate (http://en.doc.boardgamearena.com/Transl ... _.28PHP.29 second example).
Can you confirm?
In my material.php I have a list of array that rappresent each game cards.
One of the "field" is a description.
Description is useful only on the client, to show the card effect inside a tooltip; they are never used server side.
These card objects are sent to the client through notifyPlayer methods or getAllDatas for setup and for any user refresh.
My question is: what are the right translate method for the cards description? clienttranslate() or _().
Reading documentation it seem that the right method is clienttranslate (http://en.doc.boardgamearena.com/Transl ... _.28PHP.29 second example).
Can you confirm?