Translating markup strings

BGA localization discussions
Post Reply
User avatar
CherryGloom
Posts: 3
Joined: 26 September 2024, 20:54

Translating markup strings

Post by CherryGloom »

Hi! I'm new to translation on BGA but not new to translation overall. I'm currently translating Reforest and not quite sure how to proceed with things like "${handCardLimit}${handCardLimitModifier} (Hand Card Limit)".
As I understood, these are markup strings and should be left alone, but since I'm not sure I wanted to clarify. Should I just copy them into my translation as is?
User avatar
Thomas
Posts: 364
Joined: 10 January 2012, 14:37

Re: Translating markup strings

Post by Thomas »

That are placeholders (not markup tags). The game will replace them with current values (e.g. the current number of cards, an icon, …). Please do not translate them.

If needed, you can change the position of the placeholders, if that fits better in the target language. For example instead of ${player} plays a ${number} ${color}.“, your language may use ${player} spielt eine ${color} ${number}.“.
User avatar
CherryGloom
Posts: 3
Joined: 26 September 2024, 20:54

Re: Translating markup strings

Post by CherryGloom »

Big thanks for the info! I tried looking up the correct name and somehow ended up with "markup strings". I'm not great with programming lol.
Post Reply

Return to “Translations”