From 6bc55cfd0f3ba3d32bd963226a29f21320004295 Mon Sep 17 00:00:00 2001 From: Emad Rad Date: Wed, 17 Jul 2024 19:41:51 +0330 Subject: [PATCH] chore: test languages added --- superset/config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/superset/config.py b/superset/config.py index 4e5f707edd43d..5fe594545697f 100644 --- a/superset/config.py +++ b/superset/config.py @@ -386,7 +386,10 @@ def _try_json_readsha(filepath: str, length: int) -> str | None: } # Turning off i18n by default as translation in most languages are # incomplete and not well maintained. -LANGUAGES = {} +LANGUAGES = { + "en": {"flag": "us", "name": "English"}, + "fa": {"flag": "ir", "name": "Persian"}, +} # Override the default d3 locale format