Open andersevenrud opened 5 years ago
@BoFFire I've started work on this. I've implemented everything into the client, so now I just have to go over the theme(s) and make some corrections to margins etc :slightly_smiling_face:
Oh nice work @andersevenrud \o/ We appreciate. Thank you !
I've also updated @osjs/panels
and @osjs/gui
now, so this should now work pretty well. The only things missing are:
The language is detect by the first segment of a locale, ex: en_EN
will be looked up as en
in this table:
https://github.com/os-js/osjs-client/blob/master/src/config.js#L168
This will set an attribute in the DOM which the CSS handles.
I had this in v2 and should be back-ported. Basically add an attribute to the root element that sets all text CSS styles to RTL.