mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-07 05:32:35 +00:00
chore: support fr locale
This commit is contained in:
@ -37,6 +37,8 @@ const Root: React.FC = () => {
|
||||
|
||||
if (isEqual(currentUserSetting.locale, UserSetting_Locale.LOCALE_ZH)) {
|
||||
i18n.changeLanguage("zh");
|
||||
} else if (isEqual(currentUserSetting.locale, UserSetting_Locale.LOCALE_FR)) {
|
||||
i18n.changeLanguage("fr");
|
||||
} else {
|
||||
i18n.changeLanguage("en");
|
||||
}
|
||||
|
Reference in New Issue
Block a user