Skip to content

Commit 80fc3c8

Browse files
authored
add support for all RTL languages (#5036)
1 parent de2f3f7 commit 80fc3c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebook/static/bidi/bidi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ define(['bidi/numericshaping'], function(numericshaping) {
2323
};
2424

2525
var _isMirroringEnabled = function() {
26-
return new RegExp('^(ar|he)').test(_uiLang());
26+
return new RegExp('^(ar|ara|arc|ae|ave|egy|he|heb|nqo|pal|phn|sam|syc|syr|fa|per|fas|ckb|ur|urd)').test(_uiLang());
2727
};
2828

2929
/**

0 commit comments

Comments
 (0)