internationalization - Is there any way to detect an RTL language in Java? -


i need able detect whether current language user viewing rtl (right left) language arabic.

at moment i'm detecting based on language code system property user.language, there must better way.

componentorientation.getorientation(new locale(system.getproperty("user.language"))).islefttoright();   

Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -