Official Content

When combining symbols that can be used in both RTL and LTR languages (such as periods, commas, or other punctuation marks), their displayed positions will depend on the direction of the text. This is because the data format starts from the beginning, but a browser is still processing an RTL word in the RTL direction and punctuation is converted towards the direction that has been specified.

Take the following image, the question mark symbol are correctly set but the Arabic text is not aligned to the right side.


Changing the alignment to the right solves the problem but creates a new one related with the question mark symbol.


To fix this problem, try converting RTL and LTR strings (or text fragments) into separate elements, for example, use different Textblocks. Then, specify their direction with either the dir attribute or the CSS direction property, for that matter changing the associated Theme class.


Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant