Coverage for src/couchers/i18n/constants.py: 100%

2 statements  

« prev     ^ index     » next       coverage.py v7.11.0, created at 2025-11-18 14:01 +0000

1# Language fallback hierarchy 

2# If a string is not found in the requested language, fall back to these languages in order 

3LANGUAGE_FALLBACKS: dict[str, list[str]] = { 

4 "pt-BR": ["pt", "en"], 

5 "pt-PT": ["pt-BR", "en"], 

6 "es-419": ["es", "en"], 

7 "fr-CA": ["fr", "en"], 

8 "zh": ["zh-Hans", "en"], 

9 "en_CORP": ["en"], 

10} 

11DEFAULT_FALLBACK = ["en"]