Add Bengali (bn) localization for India (IN) holidays#3450
Add Bengali (bn) localization for India (IN) holidays#3450sai-ganesh003 wants to merge 1 commit intovacanza:devfrom
Conversation
sai-ganesh003
commented
Mar 29, 2026
- Added Bengali (bn) localization for India holidays
- Completed full translation coverage
- Updated README supported languages
- Ensured consistency between code, docs, and localization
- All tests passing (100% coverage)
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
Summary by CodeRabbit
WalkthroughDocumentation updates remove the ICS exports section and Shanghai Stock Exchange entry. India's supported languages are reduced by removing Kannada. Corresponding test cases for Kannada localization are removed, while Hindi and Telugu localization strings are updated with new translations. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ❌ 3❌ Failed checks (3 warnings)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@holidays/locale/bn/LC_MESSAGES/IN.po`:
- Around line 271-273: Update the source comment in holidays/countries/india.py
that sits immediately above the tr("Punjab Day") call so the translator comment
matches the msgid (change "Punjabi Day." to "Punjab Day."); after saving the
change, regenerate the .po catalogs by running make l10n so the translator
comment in holidays/locale/bn/LC_MESSAGES/IN.po is updated automatically rather
than editing the .po file directly.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: c7a73753-c907-405d-9326-e823b04f2556
📒 Files selected for processing (4)
README.mdholidays/countries/india.pyholidays/locale/bn/LC_MESSAGES/IN.potests/countries/test_india.py
| #. Punjabi Day. | ||
| msgid "Punjab Day" | ||
| msgstr "পাঞ্জাব দিবস" |
There was a problem hiding this comment.
Fix mismatched translator comment at source and regenerate l10n.
Line 271 says Punjabi Day. but Line 272 msgid is Punjab Day. Please fix the source comment in holidays/countries/india.py (the # Punjabi Day. comment above tr("Punjab Day")) and regenerate catalogs via make l10n instead of editing this .po comment directly.
🔧 Proposed source fix
--- a/holidays/countries/india.py
+++ b/holidays/countries/india.py
@@
- # Punjabi Day.
+ # Punjab Day.
self._add_holiday_nov_1(tr("Punjab Day"))Based on learnings: translator comments in .po files are auto-generated from holiday-name comments in Python source and must be corrected in source, then regenerated with make l10n.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@holidays/locale/bn/LC_MESSAGES/IN.po` around lines 271 - 273, Update the
source comment in holidays/countries/india.py that sits immediately above the
tr("Punjab Day") call so the translator comment matches the msgid (change
"Punjabi Day." to "Punjab Day."); after saving the change, regenerate the .po
catalogs by running make l10n so the translator comment in
holidays/locale/bn/LC_MESSAGES/IN.po is updated automatically rather than
editing the .po file directly.
cc756be to
bf4722c
Compare
|
|
@sai-ganesh003, Bengali has already been added - did you forget? |
|
@KJhellico @PPsyrius You're right — this overlaps with my earlier Bengali localization contribution. This PR was intended to refine and align translations/tests, but I see it created duplication. I'll close/leave this and instead submit smaller, focused fixes where needed. |


