i18n: Fix several issues with right-to-left layout