Page 1 of 1

Suggestion: Protect HTML Code in Translations

Posted: 30 May 2025, 01:55
by kiralk
Hello BGA Teams,

A minor improvement suggestion for the translation guidelines: Could we add a warning about not touching HTML code? Maybe even highlight those parts in a different color?

I've noticed some translated games end up with broken icons or card effects when the code gets accidentally changed. A little heads-up in the guidelines could save translators (and players!) a lot of trouble.

Thanks for considering!

Re: Suggestion: Protect HTML Code in Translations

Posted: 01 June 2025, 14:00
by RicardoRix
A check to see if the same number of <> exist before and after an edit, seems logical.

Re: Suggestion: Protect HTML Code in Translations

Posted: 07 June 2025, 16:32
by FiftyShadesOfPlay
I agree with the comments above that a check is useful. However, I would appreciate it, if a translation with a different numer of e.g. * was still possible. This check sometkmes makes it quite difficult to translate strings, especially if the original text combines multiple "segments" into one highlighted component.
To make my point, in the following example "the red tile" and "click" are combined. This means that they cannot be separated in the translation without having more *s:
"After you have selected *the red field, click* on *continue*."
I guess it could be solved easily if strings would have a format like this instead:
"After you have selected *the red field*, *click* on *continue*."