If a language code contains a script tag, getScript, getDir and isRtl should not need the code to be defined, because it already contains the information they need.
e.g. For mis-arab (uncoded language, Arabic script):
$.uls.data.getScript("mis-arab"); currently returns Zyyy instead of Arab.
$.uls.data.getDir("mis-arab"); currently returns ltr instead of rtl.
$.uls.data.isRtl("mis-arab"); currently returns false instead of true.
If a language code contains a script tag,
getScript
,getDir
andisRtl
should not need the code to be defined, because it already contains the information they need.e.g. For
mis-arab
(uncoded language, Arabic script):$.uls.data.getScript("mis-arab");
currently returnsZyyy
instead ofArab
.$.uls.data.getDir("mis-arab");
currently returnsltr
instead ofrtl
.$.uls.data.isRtl("mis-arab");
currently returnsfalse
instead oftrue
.