Add persian locale

This commit is contained in:
Ased Mammad
2022-08-11 03:04:15 +04:30
parent 5f34bf0d73
commit e22786407b
3 changed files with 197 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ TRANSLATIONS = {
"zh_CN": Translations.load(os.path.join(BASE_DIR, "locales"), locales=["zh_CN"]),
"en_US": Translations.load(os.path.join(BASE_DIR, "locales"), locales=["en_US"]),
"fr_FR": Translations.load(os.path.join(BASE_DIR, "locales"), locales=["fr_FR"]),
"fa_IR": Translations.load(os.path.join(BASE_DIR, "locales"), locales=["fa_IR"]),
}
translations = TRANSLATIONS.get("en_US")