As I understand it, the <code> tag prevents Hub from parsing and translating the string inside it.
For EN>Arabic, however, it doesn't seem to work predictably.
Any suggestions?
I used these test strings and in each case, the elements within the <code> tags were parsed and re-ordered or translated:
<code>{1}</code> <code>{1,number}</code> of <code>{2}</code> <code>{2,choice,singular#comment|plural#comments}</code>
<code>{1}</code> <code>{1,number}</code> of <code>{2}</code>
<code>{2,choice,singular#comment|plural#comments}</code>.
<code>{1}</code> <code>{1,number}</code> of <code>{2}</code> -- <code>{2,choice,singular#comment|plural#comments}</code>
You have exceeded the maximum length by <code>{0}</code> <code>{0,choice,singular#character|plural#characters}
You have exceeded the maximum length of <code>\{0\}</code>.
The output in the Test System window was this:
{1}
{1,number}
من {2}
{2,choice,singular#comment|plural#comments}
{1}
{1,number}
من {2}
{2,choice,singular#comment|plural#comments}
.
{1}
{1,number}
من {2}
- {2,choice,singular#comment|plural#comments}
لقد تجاوزت الحد الاقصي ل# الطول ب {0}
{0,choice,singular#character|plural#characters}
.
لقد تجاوزت الحد الاقصي ل# الطول من \{0\}
.</code>.