SUPPORTED_LANGUAGES: dict[str, str] = { "en": "English", "fr": "French", "es": "Spanish", "it": "Italian", "de": "German", } SUPPORTED_LEVELS = {"A1", "A2", "B1", "B2", "C1", "C2"} # Ordered for display (SUPPORTED_LEVELS is a set and has no guaranteed order). LEVEL_ORDER: list[str] = ["A1", "A2", "B1", "B2", "C1", "C2"] LEVEL_DESCRIPTIONS: dict[str, str] = { "A1": "Little to no prior knowledge of the language", "A2": "Basic knowledge; can understand simple phrases and expressions", "B1": "Intermediate; can handle most everyday situations", "B2": "Upper intermediate; can interact fluently with native speakers", "C1": "Advanced; able to use language flexibly and effectively", "C2": "Near-native mastery of the language", }