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

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -