Skip to content

Update India holidays: improve Tamil translations#3437

Merged
arkid15r merged 7 commits into
vacanza:devfrom
2024yuva:tamil-l10n-improvements
Apr 11, 2026
Merged

Update India holidays: improve Tamil translations#3437
arkid15r merged 7 commits into
vacanza:devfrom
2024yuva:tamil-l10n-improvements

Conversation

@2024yuva

@2024yuva 2024yuva commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

This PR focuses on refining existing translations to improve linguistic accuracy, consistency, and cultural relevance, especially for Tamil Nadu context. Several entries were updated to use more commonly accepted Tamil terminology and standardized naming conventions.

Key improvements:

  • Corrected inaccurate translations (e.g., Janmashtami - கிருஷ்ண ஜெயந்தி)
  • Standardized usage of terms like "தினம்" and "ஜெயந்தி"
  • Improved clarity for Tamil-specific holidays (e.g., தமிழ் புத்தாண்டு)

Examples:

  • Independence Day - சுதந்திர தினம்
  • Janmashtami - கிருஷ்ண ஜெயந்தி
  • Puthandu (Tamil New Year) - தமிழ் புத்தாண்டு (புத்தாண்டு)

Copilot AI review requested due to automatic review settings March 27, 2026 04:37
@github-actions github-actions Bot added the l10n label Mar 27, 2026
@coderabbitai

coderabbitai Bot commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

Updated Tamil translations for several India holiday names in holidays/locale/ta/LC_MESSAGES/IN.po and adjusted corresponding Tamil expected strings in tests/countries/test_india.py; only translated string literals were modified.

Changes

Cohort / File(s) Summary
Tamil locale translations
holidays/locale/ta/LC_MESSAGES/IN.po
Refined 9 msgstr entries for India holiday names (Independence Day, Janmashtami, Govardhan Puja, Navratri / Sharad Navratri, Chhath Puja, Uttarayan, Haryana Foundation Day, Karnataka Rajyotsava, Odisha Day / Utkala Dibasa).
Tests expecting Tamil names
tests/countries/test_india.py
Updated asserted Tamil holiday-name literals for 2018 to match revised translations; no test logic or structure changed.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • arkid15r
🚥 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: updating Tamil translations for India holidays to improve their accuracy and consistency.
Description check ✅ Passed The description is directly related to the changeset, explaining the rationale for Tamil translation improvements with specific examples that match the actual changes made.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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/ta/LC_MESSAGES/IN.po`:
- Line 129: The msgstr for the holiday entry currently set to "ரக்ஷா பந்தன்
(அண்ணன்-தங்கை உறவு திருநாள்)" (and the two other entries flagged in the review)
includes extra explanatory text; update each affected msgstr to be a faithful
translation of the msgid (i.e., remove the parenthetical/explanatory portion) so
the value is just the holiday name in Tamil, matching the source msgid exactly
in scope.
🪄 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: 95728a1b-bf4d-4169-8f5e-cfc5ef2ed5fa

📥 Commits

Reviewing files that changed from the base of the PR and between 996988c and eb5933e.

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

Comment thread holidays/locale/ta/LC_MESSAGES/IN.po Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Refines Tamil (ta) localized holiday names for India (IN.po) to improve linguistic accuracy and consistency for Tamil Nadu context.

Changes:

  • Updated several holiday msgstr values (e.g., Independence Day, Janmashtami, Chhath Puja, Odisha Day).
  • Adjusted transliterations/terminology for select festivals and state observances.
  • Added additional descriptive phrasing to a couple of holiday names.

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

Comment thread holidays/locale/ta/LC_MESSAGES/IN.po Outdated
Comment thread holidays/locale/ta/LC_MESSAGES/IN.po Outdated
Comment thread holidays/locale/ta/LC_MESSAGES/IN.po Outdated
Comment thread holidays/locale/ta/LC_MESSAGES/IN.po Outdated
@PPsyrius PPsyrius changed the title Improve Tamil translations for Indian holidays (IN.po) Update India holidays: Improve Tamil translations Mar 27, 2026
@vacanza vacanza deleted a comment from anjalikaspoju-tech Mar 28, 2026
@KJhellico

Copy link
Copy Markdown
Collaborator

@2024yuva, please pay attention to the bot's comments; they seem reasonable.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

♻️ Duplicate comments (1)
holidays/locale/ta/LC_MESSAGES/IN.po (1)

185-185: ⚠️ Potential issue | 🟡 Minor

Keep Uttarayan as the holiday name only.

Line 185 adds நாள், which broadens the source scope (msgid "Uttarayan"). Please normalize to the holiday-name translation only.

Suggested fix
-msgstr "உத்தராயண் நாள்"
+msgstr "உத்தராயண்"

Based on learnings: when translating holiday names in .po files, msgstr should be a faithful translation of the original msgid, not expanded with extra wording.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@holidays/locale/ta/LC_MESSAGES/IN.po` at line 185, The translation for msgid
"Uttarayan" currently expands the name by adding "நாள்"; update the msgstr for
msgid "Uttarayan" to only contain the holiday name "Uttarayan" (remove the extra
word "நாள்") so the msgstr is a faithful, one-to-one translation of the msgid.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Duplicate comments:
In `@holidays/locale/ta/LC_MESSAGES/IN.po`:
- Line 185: The translation for msgid "Uttarayan" currently expands the name by
adding "நாள்"; update the msgstr for msgid "Uttarayan" to only contain the
holiday name "Uttarayan" (remove the extra word "நாள்") so the msgstr is a
faithful, one-to-one translation of the msgid.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 1c1a16ea-b453-4149-874a-22bdc846cb9c

📥 Commits

Reviewing files that changed from the base of the PR and between eb5933e and 84e7672.

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

@KJhellico KJhellico changed the title Update India holidays: Improve Tamil translations Update India holidays: improve Tamil translations Mar 29, 2026
Comment thread holidays/locale/ta/LC_MESSAGES/IN.po
@github-actions github-actions Bot added the test label Mar 31, 2026
KJhellico and others added 2 commits April 10, 2026 17:39
Signed-off-by: ~Jhellico <KJhellico@users.noreply.github.com>
@codecov

codecov Bot commented Apr 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (0c9ef72) to head (24720f1).
⚠️ Report is 2 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff            @@
##               dev     #3437   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          313       313           
  Lines        18672     18672           
  Branches      2385      2385           
=========================================
  Hits         18672     18672           

☔ 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.

KJhellico
KJhellico previously approved these changes Apr 10, 2026

@KJhellico KJhellico left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM.

@arkid15r arkid15r left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM 👍

Thansk for your contribution @2024yuva

@arkid15r arkid15r enabled auto-merge April 11, 2026 02:31
@sonarqubecloud

Copy link
Copy Markdown

@PPsyrius PPsyrius left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM 🇮🇳

@arkid15r arkid15r added this pull request to the merge queue Apr 11, 2026
Merged via the queue into vacanza:dev with commit 10082a8 Apr 11, 2026
32 checks passed
@KJhellico KJhellico mentioned this pull request Apr 20, 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