New to Kendo UI for Angular? Start a free 30-day trial

RTL Support

Right-to-Left (RTL) support represents the ability of a library, website, or application to handle and respond to users who communicate through right-to-left languages. Right-to-left languages are Arabic, Hebrew, Chinese, Japanese, and others.

In web applications, the RTL mode can be enabled with the dir attribute of a DOM element. To enable the RTL mode for all Kendo UI components in your Angular application, provide a text direction value by using the RTL token in the root module of the application. You can also limit the RTL mode to a part of the application by providing the value to a sub-module. By default, the RTL mode is disabled.

Example
View Source
Change Theme:

Dynamic Update of Text Direction

In specific scenariosfor example, if the language of your application changes dynamicallyyou can change the text direction at runtime. The dynamic update of the text direction is handled through the Message Service because the text direction typically changes with the messages. For more information, refer to the section on updating messages dynamically.

If the translation of messages is handled elsewhere and you only want to change the text direction, call notify on the default MessageService.

Example
View Source
Change Theme:

In this article

Not finding the help you need?