Skip to content

Update India holidays: add Telugu language support#3303

Merged
arkid15r merged 3 commits intovacanza:devfrom
Abiram08:add-telugu-india-localization
Mar 4, 2026
Merged

Update India holidays: add Telugu language support#3303
arkid15r merged 3 commits intovacanza:devfrom
Abiram08:add-telugu-india-localization

Conversation

@Abiram08
Copy link
Copy Markdown
Contributor

@Abiram08 Abiram08 commented Mar 1, 2026

Proposed change

Added Telugu (te) localization for India holidays, resolving issue #3256.

Changes made:

  • Added holidays/locale/te/LC_MESSAGES/IN.po with Telugu translations (100% coverage)
  • Updated supported_languages in holidays/countries/india.py to include te
  • Added test_l10n_te in tests/countries/test_india.py to verify all Telugu translations
  • Updated README.md to reflect Telugu language support

Type of change

  • New country/market holidays support (thank you!)
  • Supported country/market holidays update (calendar discrepancy fix, localization)
  • Existing code/documentation/test/process quality improvement (best practice, cleanup, refactoring, optimization)
  • Dependency update (version deprecation/pin/upgrade)
  • Bugfix (non-breaking change which fixes an issue)
  • Breaking change (a code change causing existing functionality to break)
  • New feature (new holidays functionality in general)

Checklist

Copilot AI review requested due to automatic review settings March 1, 2026 21:32
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 1, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1377042 and 6399ad1.

📒 Files selected for processing (1)
  • holidays/locale/te/LC_MESSAGES/IN.po

Summary by CodeRabbit

  • New Features

    • Added Telugu (te) localization for Indian holidays.
  • Tests

    • Added tests validating Telugu holiday localizations.
  • Documentation

    • Updated supported languages list to include Telugu.

Walkthrough

Adds Telugu (te) localization for India: updates README and India.supported_languages, adds holidays/locale/te/LC_MESSAGES/IN.po with Telugu translations, and introduces test_l10n_te in tests/countries/test_india.py.

Changes

Cohort / File(s) Summary
Language Configuration
README.md, holidays/countries/india.py
Added Telugu (te) to India supported languages and updated README country table entry.
Localization Data
holidays/locale/te/LC_MESSAGES/IN.po
New Telugu locale PO with translations for Indian holiday names and metadata (~321 lines added).
Test Coverage
tests/countries/test_india.py
Added test_l10n_te validating Telugu-localized holiday names for 2018.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related issues

Possibly related PRs

Suggested reviewers

  • arkid15r
  • KJhellico
  • PPsyrius
🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: adding Telugu language support to India holidays.
Description check ✅ Passed The description is well-structured and directly related to the changeset, detailing the specific files modified, translations added, and tests implemented.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds Telugu (te) localization support for India holidays, aligning the India holiday entity’s supported languages, translations, tests, and documentation to resolve issue #3256.

Changes:

  • Added full Telugu translation catalog for India holidays (IN.po).
  • Registered te as a supported language for India holidays.
  • Added a localization test to assert the complete set of Telugu holiday names for 2018 (including subdivision-derived holidays).
  • Updated README to list Telugu among India’s supported languages.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
tests/countries/test_india.py Adds test_l10n_te to validate Telugu localization output across India + all subdivisions.
holidays/locale/te/LC_MESSAGES/IN.po Introduces Telugu translations for all IN holiday msgids (100% coverage).
holidays/countries/india.py Adds "te" to supported_languages for the India entity.
README.md Updates India row to include te in supported languages.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (7df1bef) to head (6399ad1).
⚠️ Report is 7 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff            @@
##               dev     #3303   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          307       307           
  Lines        18396     18460   +64     
  Branches      2354      2369   +15     
=========================================
+ Hits         18396     18460   +64     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Collaborator

@PPsyrius PPsyrius left a comment

Choose a reason for hiding this comment

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

Implementation-wise, this is ready to merge.

However, I’ve noticed several spelling inconsistencies in the Telugu l10n compared to #3300 - It would be good to align these before merging.

@MounikaYerramsetti26 @Abiram08 Since I assumed you’re both Telugu speakers, could you please review and agree on the preferred spellings so we can standardise them?

@Abiram08
Copy link
Copy Markdown
Contributor Author

Abiram08 commented Mar 2, 2026

Sure will look right into it.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Mar 3, 2026

Copy link
Copy Markdown
Collaborator

@PPsyrius PPsyrius left a comment

Choose a reason for hiding this comment

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

LGTM 🇮🇳

Copy link
Copy Markdown
Collaborator

@KJhellico KJhellico left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Copy Markdown
Collaborator

@arkid15r arkid15r left a comment

Choose a reason for hiding this comment

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

Awesome, thanks for adding this @Abiram08

@arkid15r arkid15r added this pull request to the merge queue Mar 4, 2026
Merged via the queue into vacanza:dev with commit d0e64c6 Mar 4, 2026
32 checks passed
@arkid15r arkid15r mentioned this pull request Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants