Fix: Arabic to RTL

This commit is contained in:
Louis Lam 2023-12-05 16:57:10 +08:00
parent 8296c7b18f
commit 4e899dcf21

View File

@ -39,7 +39,7 @@ for (let lang in languageList) {
}; };
} }
const rtlLangs = [ "fa", "ar-SY", "ur" ]; const rtlLangs = [ "fa", "ar-SY", "ur", "ar" ];
export const currentLocale = () => localStorage.locale export const currentLocale = () => localStorage.locale
|| languageList[navigator.language] && navigator.language || languageList[navigator.language] && navigator.language