Removing Translations

BGA localization discussions
Post Reply
User avatar
vinayakr
Posts: 4
Joined: 13 April 2020, 02:12

Removing Translations

Post 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?
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: Removing Translations

Post 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.
Post Reply

Return to “Translations”