i have to change RTL (right-to-left) configurations in jQuery, according to wordpress current language configurations.


my wordpress site utilizes a wordpress plugin which in turns runs jquery's "jstree". this tree shows wrong on right-to-left pages.

jstree supports RTL, however i could not find how you can tell jquery "core.RTL = true" - from inside wordpress. ( i'm able to get it done by editing the js code, however i'm not sure what is the wordpress current language configurations from withing jquery.