Library will help you to detect if the locale is right-to-left language.
Library will help you to detect if the locale is right-to-left language.
Detect if a locale is RTL, using Intl if possible
Primitives for dealing with locale and layout direction.
Modern, standards-based RTL (Right-to-Left) language detection for JavaScript/TypeScript. Detects if a locale is RTL, gets text direction, and lists all Unicode/ISO RTL languages.