Skip to content
/ django Public

Comments

Fixed #36609 -- Added Haitian Creole (ht) language.#19858

Merged
felixxm merged 1 commit intodjango:mainfrom
prepa24:add-haitian-creole
Sep 23, 2025
Merged

Fixed #36609 -- Added Haitian Creole (ht) language.#19858
felixxm merged 1 commit intodjango:mainfrom
prepa24:add-haitian-creole

Conversation

@prepa24
Copy link
Contributor

@prepa24 prepa24 commented Sep 13, 2025

Trac ticket number

ticket-36609

Branch description

This PR adds Haitian Creole (ht) as a supported language in Django.
The translation work was completed on Transifex and this patch introduces the following files:

  • django/conf/locale/ht/LC_MESSAGES/django.po
  • django/conf/locale/ht/LC_MESSAGES/djangojs.po
  • django/conf/locale/ht/formats.py

These files enable proper internationalization and formatting support for Haitian Creole.
Adding this language will benefit Haitian developers and users by making Django more accessible in their native language.

Checklist

  • This PR targets the main branch.
  • The commit message is written in past tense, mentions the ticket number, and ends with a period.
  • I have checked the "Has patch" ticket flag in the Trac system.
  • I have added or updated relevant tests.
  • I have added or updated relevant docs, including release notes if applicable.
  • I have attached screenshots in both light and dark modes for any UI changes.

@prepa24
Copy link
Contributor Author

prepa24 commented Sep 13, 2025

The failing test (gis_tests.inspectapp.tests.OGRInspectTest.test_time_field) and the reported errors seem unrelated to this change.
This PR only adds locale files for Haitian Creole (ht), so the translation work should not affect GIS or database-related tests.

@felixxm
Copy link
Member

felixxm commented Sep 14, 2025

@prepa24 Thanks for this patch 👍 Please take a look on patches for previous new languages (e.g. #13161) , you should update similar files. Also, there is no need to add an empty versions of .po files one of translation managers will add them before the final release.

@prepa24
Copy link
Contributor Author

prepa24 commented Sep 14, 2025

I've updated the PR according to the feedback:

  • Added ("ht", gettext_noop("Haitian Creole")), to django/conf/global_settings.py.
  • Kept only formats.py in django/conf/locale/ht/ (removed empty .po/.mo files).
  • Added "Haitian" and "Creole" to tests/spelling_wordlist.
  • Verified consistency with previous new language patches (e.g. PR Added Turkmen language. #13161).

Please let me know if there’s anything else I should adjust. Thanks for the review!

@felixxm
Copy link
Member

felixxm commented Sep 15, 2025

Verified consistency with previous new language patches (e.g. PR

A few things are still missing:

  • ht entry in django/conf/locale/__init__.py
  • translation entry for the new language in django/conf/locale/en/LC_MESSAGES/django.po
  • an empty __init__.py file in django/conf/locale/ht directory

@felixxm felixxm self-assigned this Sep 15, 2025
@felixxm
Copy link
Member

felixxm commented Sep 15, 2025

@prepa24 Do you have any Haitian speaker who could confirm these formats?

@felixxm felixxm changed the title Fixed #36609 -- Added Haitian Creole (ht) translation. Fixed #36609 -- Added Haitian Creole (ht) language. Sep 18, 2025
@felixxm
Copy link
Member

felixxm commented Sep 18, 2025

@prepa24 Thanks again for this patch 👍 Welcome aboard ⛵

I've pushed edits and now we are just waiting for any Haitian speaker to confirm the formats you've chosen.

Copy link

@rlconley rlconley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good except for the decimal separator. Thank you for including Haiti! 🇭🇹

@jgb-solutions
Copy link

Looks good to me. Awesome work @prepa24!

@felixxm felixxm force-pushed the add-haitian-creole branch 3 times, most recently from a9545cf to ddca1e8 Compare September 22, 2025 21:29
Thanks Rebecca Conley for the review.

Co-Authored-By: Mariusz Felisiak <[email protected]>
@felixxm felixxm merged commit 9af8225 into django:main Sep 23, 2025
47 checks passed
@prepa24
Copy link
Contributor Author

prepa24 commented Sep 23, 2025

Many thanks to everyone who reviewed and guided me through this PR.
I truly appreciate the warm welcome and the edits that helped finalize the patch.
It’s an honor to contribute Haitian Creole (ht) support to Django.
Mèsi anpil! 🇭🇹

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants