How to translate a string with RichText?

My game source language is Portuguese.
I have a TextButton whose content is generated like this:

MyButton.Text = 'Mapa: 1/ - Lote: <font color="rgb(255,0,0)">1</font>'

In the Translation Portal I have this:
image

When running in Roblox Player, the original (Portuguese) appears like this:
image

But the translated version appears like this (it seems the font color tag were lost):
image

How to translate a string with RichText?

1 Like

The solution I’ve found is to force the tags inside the translation field:
Ex: in this new test, the original field (English) contains:

<font color="rgb(0,0,255)">Rich</font><font color="rgb(255,0,0)">Text</font>

image

At the translator portal I manually insert the tags in the translation field:

Now I get the correct translated version with RichText:
image

3 Likes