Styling for right-to-left languages in portals
Localizing a portal for right-to-left languages requires CSS that mirrors the direction of portal pages.
Service Portal can generate the CSS required to mirror the user interface direction of the portal when the session language is a right-to-left language. The entire hierarchy of existing infrastructure for styling left-to-right languages—the theme, page, widget, and widget instance SCSS—is converted to CSS for right-to-left languages. All directional properties supported by RTLCSS are converted. However, plain CSS files included in any of the theme or widget dependency records, internal CSS, and inline CSS aren’t automatically converted.
You can also provide your own CSS for right-to-left languages to override the automatically generated CSS if you use an external CSS library and you can control the conversion of CSS for right-to-left languages using a variety of methods.
To track how many users view a portal in a right-to-left language, see the PortalPageLoad event in Usage Insights for Service Portal. For more information about available events, see Service Portal events.