Page 1 of 1

Translation not possible, if text contains < and >: "<> markers must be kept unchanged in the translated string"

Posted: 24 August 2025, 16:16
by Thomas
I tried to translate the following text from the game "Digit Code":

Click “Compare numbers,” then click the “> <” symbol between U and X, then click “Confirm U > < X.”

BGA does not allow to change the text between the first < and the next >, because BGA thinks, it is an HTML tag. BGA says: "<> markers must be kept unchanged in the translated string".

I created a bug report for this issue: https://boardgamearena.com/bug?id=181213

Any idea beside the technical solution that BGA should encode < and > as &lt; and &gt; for tutorial texts?

Re: Translation not possible, if text contains < and >: "<> markers must be kept unchanged in the translated string"

Posted: 25 August 2025, 16:48
by jenseitigesWobb
Thats unfortunate, indeed, a temporary solution could be to write the translation behind the part that cannot be changed, in this case for example:

Klicke auf “Ziffern vergleichen” dann klicke auf das “> <” symbol between U and X, then click “Confirm U > < X” ("> <"-Symbol zwischen U und X, und dann auf "U > < X bestätigen").

Or in the case BGA doesnt let you add additional > or < token to the translation:

Klicke auf “Ziffern vergleichen” dann klicke auf das “> <” symbol between U and X, then click “Confirm U > < X” ("Größer/Kleiner"-Symbol zwischen U und X, und dann auf "U Größer/Kleiner X bestätigen").

Re: Translation not possible, if text contains < and >: "<> markers must be kept unchanged in the translated string"

Posted: 26 August 2025, 09:05
by fruktansvärt
I would suggest contacting the developer of the game here on BGA.

Re: Translation not possible, if text contains < and >: "<> markers must be kept unchanged in the translated string"

Posted: 26 August 2025, 13:43
by cigma
This refers to the tutorial for Digit Code. It looks like shlïtn has found a solution by using other, but similar looking symbols ﹥﹤in the German translation.

Re: Translation not possible, if text contains < and >: "<> markers must be kept unchanged in the translated string"

Posted: 26 August 2025, 20:30
by Thomas
Thanks all for your answers. Yes, shlïtn found a workaround that uses Unicode signs ﹥ („small greater-than sign“) and ﹤ („small less-than sign“) instead of the normal > and <. I would not expect that omitting the < > could work, but it seems to work. Thanks shlïtn for that idea.