php - Find the direction of a language using its locale identifier? -
does icu (php intl extension) provides way detect direction of language (rtl/ltr) ?
direction script data. language can use many scripts , script can used many languages, i'm not sure can map language direction.
even if could, php provides no way these informations. can try icanboogie/cldr see if cldr data of use (after languages use 1 script).
you can find here mapping between languages , scripts , here scripts data include direction.
Comments
Post a Comment