Page 1 of 1

Removing Translations

Posted: 15 July 2021, 07:14
by vinayakr
Somehow I got some translations in for my labels, they are located here:
https://boardgamearena.com/translation? ... NL&find=LB_

My code only has these in two places:
$this->tpl['LB_SQUARE_TABLE'] = self::_("Square table"); // located in tichu.view.php
<a href="#" class="reordercards" id="square_table">[{LB_SQUARE_TABLE}]</a> //located in tichu_tichu.tpl

I have no idea how it ended up in the translation system or remove it? Suggestions?

Re: Removing Translations

Posted: 15 July 2021, 08:49
by Een
Hello,
Please do not use LB_ as a prefix. This was used in the old days by the framework (and still is in order to not break old games) to have some strings defined only in the translation system (with only the LB_ keyword in the template).

You can remove the prefix, or use another prefix, and then these strings will be removed from the translation system.