Hi, is there any progress on getting RTL support working in Vaadin?
WRTO https://dev.vaadin.com/ticket/3093:
“GWT themes also come in RTL (right-to-left) versions to support languages written from right-to-left, such as arabic. To use a right-to-left theme, append RTL to the theme name. ”
So can this be enabled in Vaadin somehow? I.e is it possible to expose this underlying GWT behaviour in the Vaadin code, maybe as an experimental feature or mode? Would it then be just a matter of generating the widgetset after changing a theme (as above)?
Basically what I’m asking, is if GWT has all this RTL support, how can we make use of what already works in the underlying GWT?
Regarding “The main problem with this is that we do not currently have anyone that knows a RTL language - help needed for advice and testing”:
In our other systems (swing app and a previous web toolkit), we developed our RTL support in english. Most of the work involved (retrospectively updating code to support RTL) was to change components and layouts to (eg) ‘Leading’ instead of ‘Left’. Within a component itself, eg a textfield, it is largely irrelevant whether you can read the text or not, i.e whether it is english, arabic or finnish. As long as the component has the text running RTL (and best case the underlying component is based on GWT which supports RTL), it’ll be 95% good.
The biggest challenge I found is within a component (eg a textfield) is when there is mixed text, eg arabic-english-arabic, where the text runs RTL-LTR-RTL. But as long as the text contains the correct change of direction markers (not really a concern of the UI developer) and the underlying GWT components have been created correctly, this is not a problem.
Anyway, those are some of my thoughts. It’d be really great if we could be some action on the RTL front