Skip to content

How to obtain the writing direction for a given locale? #4521

Answered by zbraniecki
rizzen-yazston asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, thanks for reaching out!

The functionality you're looking for is currently exposed in locid_transform crate as LocaleDirectionality.

Notice, that this only currently supports RTL and LTR, and does not cover TTB or BTT.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rizzen-yazston
Comment options

Answer selected by rizzen-yazston
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants