We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a8bbc9 commit 1ab59f7Copy full SHA for 1ab59f7
src/i18n/lib.js
@@ -55,6 +55,7 @@ const rtlLocales = [
55
'ar', // Arabic
56
'he', // Hebrew
57
'fa', // Farsi (not currently supported)
58
+ 'fa-ir', // Farsi Iran
59
'ur', // Urdu (not currently supported)
60
];
61
src/i18n/lib.test.js
@@ -188,6 +188,7 @@ describe('lib', () => {
188
expect(isRtl('ar')).toBe(true);
189
expect(isRtl('he')).toBe(true);
190
expect(isRtl('fa')).toBe(true);
191
+ expect(isRtl('fa-ir')).toBe(true);
192
expect(isRtl('ur')).toBe(true);
193
});
194
0 commit comments