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

BGA localization discussions
Post Reply
User avatar
Thomas
Posts: 364
Joined: 10 January 2012, 14:37

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

Post 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?
jenseitigesWobb
Posts: 9
Joined: 29 June 2022, 15:24

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

Post 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").
User avatar
fruktansvärt
Posts: 232
Joined: 18 September 2020, 19:16

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

Post by fruktansvärt »

I would suggest contacting the developer of the game here on BGA.
User avatar
cigma
Posts: 1443
Joined: 15 December 2020, 00:30

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

Post 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.
#zan_zendegi_azadi / #woman_life_freedom
#StandWithUkraine
Language is a source of misunderstanding. (Antoine de Saint-Exupery: The Little Prince) But it is also the source of understanding - it all depends on how you use it. :-)
User avatar
Thomas
Posts: 364
Joined: 10 January 2012, 14:37

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

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

Return to “Translations”