3 ms·
For me an interesting part of this (other than slapstick value) that these are all web-apps. In previous eras (Delphi, say), you had IIRC total separation betw
by jan_Inkepa 6y ago
For me an interesting part of this (other than slapstick value) that these are all web-apps. In previous eras (Delphi, say), you had IIRC total separation between “interface direction” and writing direction in labels/fields+, but they’re a lot more coupled now that most apps are really just html documents behind the scenes.
I don't know of any UI frameworks that deal with GUI in a reliably writing-direction-agnostic way (RTL,LTR,TTB,BTT) that would allow for easy localisation of text and layout. In principle it should be possible in CSS I think, but I'm unaware of any guidelines for this - anyone here have any pointers?
+ which is also maybe a bug - often it seems you want the interface to be mirrored between RTL and LTR apps.
- baybal2 6y agoGTK+ Thanks to Behdad Esfahbod, it had very reliable layouting for exotic scripts since 2.0 times
- jan_Inkepa 6y agoAh, cool - thanks for the reference! I found one talk from 15 years ago where he goes into detail about it, for anyone who's interested - http://behdad.org/download/Presentations/bidi-layouts/ http://behdad.org/download/Presentations/bidi-layouts/
- rvense 6y agoPango is a jewel of the free software world.
- memco 6y agoSome good info on that from an article a few days ago can be found here: https://news.ycombinator.com/item?id=22967701 https://news.ycombinator.com/item?id=22967701. The new CSS logical properties[0] are a great asset that will make handling many considerations a bit easier. [0] https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical...
- ken 6y agoThe Apple GUI frameworks (AppKit, UIKit) have supported automatic LTR/RTL of GUI layouts since at least 10.7 (2010). The basic view anchors are 'top', 'bottom', 'leading', and 'trailing'. 'Left' and 'right' are also available, when the physical direction is needed, but rarely used.
- lobo_tuerto 6y agoIf doing stuff for the web, and happen to be using Vue.js, Vuetify has good support for RTL languages: https://vuetifyjs.com/en/customization/rtl/ https://vuetifyjs.com/en/customization/rtl/
- jan_Inkepa 6y agoThey have some nicely detailed docs! Thanks :)