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
Post a Comment