How to obtain the writing direction for a given locale? #4521
-
For the projects I am working on I require to know what the writing direction for a given locale in order to layout various widgets correctly according to the language of the locale. Thus wondering if there a way to obtain the writing direction (usually to left or to right in a downward direction), and if possible how would one obtain this piece of information for the locale. PS: Can't wait for |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, thanks for reaching out! The functionality you're looking for is currently exposed in Notice, that this only currently supports RTL and LTR, and does not cover TTB or BTT. |
Beta Was this translation helpful? Give feedback.
Hi, thanks for reaching out!
The functionality you're looking for is currently exposed in
locid_transform
crate asLocaleDirectionality
.Notice, that this only currently supports RTL and LTR, and does not cover TTB or BTT.