FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: add Gujarati (gu) localization support by parinporecha · Pull Request #963 · python-pendulum/pendulum · GitHub

feat: add Gujarati (gu) localization support - #963

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

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

Conversation

parinporecha commented Apr 22, 2026
edited
Loading

Copy link
Copy Markdown

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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL