python-holidays icon indicating copy to clipboard operation
python-holidays copied to clipboard

Missing l10n for non-English official language countries

Open KJhellico opened this issue 11 months ago • 22 comments

Here are the countries that remain non-localized and have an official language other than English:

Country Code Official language(s) Issue Status
Bhutan BT Dzongkha (dz) #3389 ✅
Burkina Faso BF French (fr) #3175 ✅
Chad TD Arabic (ar), French (fr) #3900 ✅
Comoros KM Shikomoro (swb), Arabic (ar), French (fr) #3928 ✅
Eritrea ER Tigrinya (ti), Arabic (ar), English (en) #3976 ✅
Gabon GA French (fr) #3176 ✅
Kyrgyzstan KG Kyrgyz (ky), Russian (ru) #3301 ✅
Maldives MV Dhivehi (dv) #3110 ✅
Mauritania MR Arabic (ar) #3660 ✅
Somalia SO Somali (so), Arabic (ar) #3972 ✅

KJhellico avatar Dec 19 '25 00:12 KJhellico

can i work on this?

aman-coder03 avatar Dec 28 '25 09:12 aman-coder03

@aman-coder03, Which countries are you interested in? Do you speak some of the languages listed?

KJhellico avatar Dec 28 '25 16:12 KJhellico

Thanks for the info! I’d love to help with this. I can start by working on French (fr) localizations for:

Burkina Faso (BF) Gabon (GA) and where applicable Chad (TD) and Comoros (KM)

I don’t speak all the listed languages natively (e.g., Dzongkha, Tigrinya, Dhivehi, Somali, Kyrgyz, Russian, Arabic), but I can work from official sources and CLDR/local standards to add accurate localized strings, and the results can be reviewed by native speakers later.

If that plan sounds good, I’ll draft a PR with those French localizations first, then we can expand to the other languages/countries. Thanks! @KJhellico

aman-coder03 avatar Dec 28 '25 16:12 aman-coder03

@aman-coder03, it's sounds pretty good. It would be better to keep this issue as a summary and open separate ones for each country.

KJhellico avatar Dec 28 '25 19:12 KJhellico

I’ll start by opening individual issues for:

  • Burkina Faso (BF) — French (fr)
  • Gabon (GA) — French (fr)

and then proceed with PRs linked to those issues.

aman-coder03 avatar Dec 29 '25 07:12 aman-coder03

PR opened for Burkina Faso #3177

aman-coder03 avatar Dec 29 '25 10:12 aman-coder03

PR opened for Gabon #3178

aman-coder03 avatar Dec 29 '25 10:12 aman-coder03

@aman-coder03, there is no need to notify about this.

KJhellico avatar Dec 29 '25 10:12 KJhellico

Hi,, I would like to work on adding localization support for Bhutan (BT).

I plan to add Dzongkha ("dz") translations for the existing holiday names while keeping English as the default, following the current project structure and conventions.

Please let me know if this can be assigned to me or if there are any specific guidelines I should follow before starting. Thanks!

Devika9705 avatar Mar 24 '26 03:03 Devika9705

Hi @KJhellico , I am a GSoC 2026 applicant . I would like to work on adding the Arabic translation for Somalia (SO) as my first contribution . Is this still available for me to take up?

Prabhu-bit avatar Mar 24 '26 07:03 Prabhu-bit

Hi @KJhellico, I am a GSoC 2026 applicant. I would like to work on adding Arabic (ar) and French (fr) localization for Chad (TD). Is this still available?

adityaTechProjects avatar Mar 26 '26 12:03 adityaTechProjects

@adityaTechProjects, yes.

KJhellico avatar Mar 26 '26 13:03 KJhellico

hey @KJhellico your repo is not that much lack labelling of the issues in different ways and also i feel like it lacks the documentation like wiki is not present so can i take that task and also i would like to maldives (MV) and ER .

lalax124 avatar Mar 31 '26 16:03 lalax124

@lalax124 We do in fact have our own wiki (ReadTheDocs) - countries/market-specific documentations are auto-generated based on existing codes i.e. https://holidays.readthedocs.io/en/latest/auto_gen_docs/guyana/ and https://holidays.readthedocs.io/en/latest/auto_gen_docs/brasil_bolsa_balcao/

You're free to work on the Maldives and Eritrea 👍

PPsyrius avatar Apr 01 '26 05:04 PPsyrius

Hi @KJhellico @PPsyrius, I'd like to pick up the Arabic (ar) and French (fr) localization for Chad (TD). The earlier PR #3433 was closed as abandoned. I'll go through the review feedback there first and use official Chad sources for the holiday names. Is it okay if I take it?

ahmershahdev avatar Oct 09 '26 11:10 ahmershahdev

Hi @KJhellico I'd like to contribute the missing localization for Comoros (KM) and Eritrea (ER) under issue #3152. I'll inspect the existing localization files and tests first, and make separate PRs for each country if both are still available. Is that okay?

RAJJADHAV10 avatar Oct 16 '26 06:10 RAJJADHAV10

I'm working on the Somalia (SO) localization. The constitution (Art. 5) makes Somali the official language and Arabic the second one, so I plan to add a new so locale as the default, plus ar and en_US. Is a new so locale fine here, or should ar be the default?

ahmershahdev avatar Oct 24 '26 06:10 ahmershahdev

29. I'm working on the Somalia (SO) localization. The constitution (Art. 5) makes Somali the official language and Arabic the second one, so I plan to add a new so locale as the default, plus ar and en_US. Is a new so locale fine here, or should ar be the default?

so as the default one should be fine here

PPsyrius avatar Oct 24 '26 13:10 PPsyrius

@PPsyrius @KJhellico Hi! Is Eritrea (ER) still free? I'd like to take it if nobody's on it.

I've contributed here before (Nauru test refactor, part of #3065), so I know my way around the tests.

Plan:

  • add default_language / supported_languages to eritrea.py and wrap the holiday names in tr()
  • generate ER.po for each language, add the l10n tests
  • English names stay as they are

Languages:

  • Arabic (ar) — mostly reused from the translations already in the repo for the same holidays (ET, MR, TD catalogs)
  • English — the current names
  • Tigrinya (ti) — would be a first for the repo, there's no holidays/locale/ti/ yet. I'd take the names from Eritrean sources (Shabait, BBC Tigrinya, VOA) instead of machine translation, and flag the few I'm unsure about for a native check.

Three quick things before I start:

  1. Is a new ti locale OK?
  2. Should ti be the default language, or keep English default and just add ti/ar on top?
  3. English: en_ER + en_US like Ethiopia, or just en_US like Mauritania?

nishokcodes avatar Oct 25 '26 08:10 nishokcodes

One extra note: I checked and tests/common.py runs every country's tests in its default_language, so making ti the default means the whole existing test file gets rewritten in Tigrinya (like Mauritania, whose tests are in Arabic). If that's what you prefer I'll do it, but I'd otherwise propose keeping English as the default (en_ER) and adding ti/ar as supported languages, like Kenya does with sw.

nishokcodes avatar Oct 25 '26 09:10 nishokcodes