core functionalities for RTL translations