Skip to content

feat: add Portuguese (European) language module#61

Draft
Koan-Bot wants to merge 1 commit intoatoomic:mainfrom
Koan-Bot:koan.atoomic/add-portuguese-language
Draft

feat: add Portuguese (European) language module#61
Koan-Bot wants to merge 1 commit intoatoomic:mainfrom
Koan-Bot:koan.atoomic/add-portuguese-language

Conversation

@Koan-Bot
Copy link

@Koan-Bot Koan-Bot commented Mar 14, 2026

What

Add Date::Language::Portuguese for European Portuguese localization.

Why

Issue #31 — Portuguese is the 6th most spoken language globally (~260M speakers) and was missing from the 35 supported languages. The existing Brazilian.pm uses informal weekday names; European Portuguese uses formal names with the "-feira" suffix.

How

  • Full weekday names: domingo, segunda-feira, terça-feira, quarta-feira, quinta-feira, sexta-feira, sábado
  • Standard 3-letter abbreviations: dom, seg, ter, qua, qui, sex, sáb
  • Month names identical to Brazilian Portuguese (lowercase per convention)
  • Ordinal suffix: º (universal in Portuguese)
  • Uses use utf8 for proper accent handling (ç, á, é)

Testing

Closes #31

🤖 Generated with Claude Code


Quality Report

Changes: 2 files changed, 39 insertions(+), 1 deletion(-)

Code scan: clean

Tests: skipped

Branch hygiene: clean

Generated by Kōan post-mission quality pipeline

Add Date::Language::Portuguese with proper European Portuguese
conventions: full weekday names with "-feira" suffix, standard
3-letter abbreviations (dom/seg/ter/qua/qui/sex/sáb), and
ordinal suffix "º".

This complements the existing Brazilian module with European
Portuguese conventions, where formal weekday names differ
(segunda-feira vs Segunda).

Closes atoomic#31

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

Portuguese [rt.cpan.org #94905]

1 participant