Skip to content

feat: add Gujarati (gu) localization support#963

Open
parinporecha wants to merge 2 commits intopython-pendulum:masterfrom
parinporecha:gujarati-localization
Open

feat: add Gujarati (gu) localization support#963
parinporecha wants to merge 2 commits intopython-pendulum:masterfrom
parinporecha:gujarati-localization

Conversation

@parinporecha
Copy link
Copy Markdown

@parinporecha parinporecha commented Apr 22, 2026

Add complete Gujarati locale with:

  • Day names (abbreviated, narrow, short, wide)
  • Month names (abbreviated, narrow, wide)
  • Unit translations (year, month, week, day, hour, minute, second, microsecond)
  • Relative time expressions (past and future)
  • Day periods (midnight, am, noon, pm, morning, afternoon, evening, night)
  • Custom translations for relative time strings and date formats
  • Regression coverage for diff_for_humans() and weekday formatting (dddd, ddd, dd)

Translations sourced from CLDR data via Babel library. Follows the same pattern as the Hindi (hi) locale added in #902.

Pull Request Check List

  • Added tests for changed code.
  • Updated documentation for changed code.

Add complete Gujarati locale with:
- Day names (abbreviated, narrow, short, wide)
- Month names (abbreviated, narrow, wide)
- Unit translations (year, month, week, day, hour, minute, second, microsecond)
- Relative time expressions (past and future)
- Day periods (midnight, am, noon, pm, morning, afternoon, evening, night)
- Custom translations for relative time strings and date formats
- Full test coverage for diff_for_humans()

Translations sourced from CLDR data via Babel library.
Follows the same pattern as the Hindi (hi) locale added in python-pendulum#902.
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.

1 participant