Fork me on GitHub
#off-topic
<
2022-02-01
>
emccue16:02:03

Does anyone know what its called when you have to reverse the direction of UI elements for different languages

Ben Sless16:02:09

Alignment or justification

Ben Sless16:02:23

As in left justified vs. right justified

dharrigan16:02:38

I think it's just called RTL (Right To Left)

dharrigan16:02:54

I see in some places they call it BiDi if you mix the two together.

dharrigan16:02:18

as in Bidirectional

emccue16:02:26

or like a set of rules around that for the most common languages

dpsutton16:02:57

left to right vs right to left text?

emccue16:02:21

yeah - but with that text direction reversal sometimes you need to flip ui elements - i remember @seancorfield mentioning that WSN has to do something similar a blue moon or two ago

Fahd El Mazouni14:02:54

probably not what you're looking for but you never know https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi

mjw16:02:03

I'm not sure whether you're asking for a name for the concept (text direction, bidirectional text support, etc), or for ways to implement it? There's the CSS direction property: https://developer.mozilla.org/en-US/docs/Web/CSS/direction There's also the CSS writing-mode property: https://developer.mozilla.org/en-US/docs/Web/CSS/writing-mode

emccue17:02:24

Specifically I am trying to figure out the right way to apply it to thishttps://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html I think everything in here is more than enough info

emccue17:02:12

(The proper name was also important because i’m trying to craft a JEP and I don’t want to be shut down out of hand for bad terminology)

👍 1
lilactown16:02:55

internationalization?