I18N: Remove virtually empty and inactive languages.

This removes the following Blender UI translations:
- Amharic
- Croatian
- Estonian
- Hausa
- Kazakh
- Khmer (Central)
- Nepali
- Uzbek
- Uzbek (Latin script)

See also https://devtalk.blender.org/t/manual-ui-translations-cleanup-removal-of-inactive-empty-translations/43557
This commit is contained in:
Bastien Montagne
2025-12-16 12:24:31 +01:00
parent 52d2692917
commit 7d4876cf0c

View File

@ -44,7 +44,7 @@ LANGUAGES = (
(13, "Chinese (Simplified) - 简体中文", "zh_HANS"),
(14, "Chinese (Traditional) - 繁體中文", "zh_HANT"),
(15, "Russian - Русский", "ru_RU"),
(16, "Croatian - Hrvatski", "hr_HR"),
# 16 is free, used to be "Croatian - Hrvatski" ("hr_HR").
(17, "Serbian (Cyrillic) - Српски", "sr_RS"),
(18, "Ukrainian - Українська", "uk_UA"),
(19, "Polish - Polski", "pl_PL"),
@ -54,7 +54,7 @@ LANGUAGES = (
(22, "Bulgarian - Български", "bg_BG"),
(23, "Greek - Ελληνικά", "el_GR"),
(24, "Korean - 한국어", "ko_KR"),
(25, "Nepali - नेपाली", "ne_NP"),
# 25 is free, used to be "Nepali - नेपाली", ("ne_NP").
# Using the utf8 flipped form of Persian (فارسی).
(26, "Persian - ﯽﺳﺭﺎﻓ", "fa_IR"),
(27, "Indonesian - Bahasa indonesia", "id_ID"),
@ -65,23 +65,23 @@ LANGUAGES = (
(32, "Portuguese (Brazil) - Português brasileiro", "pt_BR"),
# Using the utf8 flipped form of Hebrew (עִבְרִית)).
(33, "Hebrew - תירִבְעִ", "he_IL"),
(34, "Estonian - Eesti keel", "et_EE"),
# 34 is free, used to be "Estonian - Eesti keel" ("et_EE").
(35, "Esperanto - Esperanto", "eo"),
# 36 is free, used to be 'Spanish from Spain' (`es_ES`).
(37, "Amharic - አማርኛ", "am_ET"),
(38, "Uzbek (Latin) - Oʻzbek", "uz_UZ@latin"),
(39, "Uzbek (Cyrillic) - Ўзбек", "uz_UZ@cyrillic"),
# 36 is free, used to be "Spanish from Spain" ("es_ES").
# 37 is free, used to be "Amharic - አማርኛ" ("am_ET").
# 38 is free, used to be "Uzbek (Latin) - Oʻzbek" ("uz_UZ@latin").
# 39 is free, used to be "Uzbek (Cyrillic) - Ўзбек" ("uz_UZ@cyrillic").
(40, "Hindi - हिन्दी", "hi_IN"),
(41, "Vietnamese - Tiếng Việt", "vi_VN"),
(42, "Basque - Euskara", "eu_EU"),
(43, "Hausa - Hausa", "ha"),
(44, "Kazakh - Қазақша", "kk_KZ"),
# 43 is free, used to be "Hausa - Hausa" ("ha").
# 44 is free, used to be "Kazakh - Қазақша" ("kk_KZ").
(45, "Abkhaz - Аԥсуа бызшәа", "ab"),
(46, "Thai - ภาษาไทย", "th_TH"),
(47, "Slovak - Slovenčina", "sk_SK"),
(48, "Georgian - ქართული", "ka"),
(49, "Tamil - தமிழ்", "ta"),
(50, "Khmer - ខ្មែរ", "km"),
# 50 is free, used to be "Khmer - ខ្មែរ" ("km").
(51, "Swahili - Kiswahili", "sw"),
(52, "Belarusian - беларуску", "be"),
(53, "Danish - Dansk", "da"),
@ -107,9 +107,7 @@ LANGUAGES_FILE = "languages"
IMPORT_MIN_LEVEL = 0.0
# Languages in the working repository that should not be imported in the Blender one currently...
IMPORT_LANGUAGES_SKIP = {
'am_ET', 'et_EE', 'uz_UZ@latin', 'uz_UZ@cyrillic', 'kk_KZ',
}
IMPORT_LANGUAGES_SKIP = set()
# Languages that need RTL pre-processing.
IMPORT_LANGUAGES_RTL = {