Library will help you to detect if the locale is right-to-left language.
This package provides a polyfill for the Intl.Locale API, adding the getWeekInfo method if it is not already available in the environment.
Get the users' most preferred locale/language from your app's available translations with zero dependencies