Skip to content

Commit

Permalink
add support for all RTL languages (#5036)
Browse files Browse the repository at this point in the history
  • Loading branch information
m2-farzan authored Jun 3, 2020
1 parent de2f3f7 commit 80fc3c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebook/static/bidi/bidi.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ define(['bidi/numericshaping'], function(numericshaping) {
};

var _isMirroringEnabled = function() {
return new RegExp('^(ar|he)').test(_uiLang());
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());
};

/**
Expand Down

0 comments on commit 80fc3c8

Please sign in to comment.