close
Skip to content

i18n(pt): AI translation update — sync with messages.pot (2026-06-11) - #12901

Merged
mekarpeles merged 8 commits into
masterfrom
i18n/pt
Jun 11, 2026
Merged

i18n(pt): AI translation update — sync with messages.pot (2026-06-11)#12901
mekarpeles merged 8 commits into
masterfrom
i18n/pt

Conversation

@mekarpeles

Copy link
Copy Markdown
Member

Summary

Syncs the Portuguese (pt) translation file with the current messages.pot template and fills in
previously untranslated strings.

AI attribution: All new translations in this PR were generated by claude-sonnet-4-6. They should
be reviewed by a native speaker before merging, particularly for tone and idiomatic accuracy.
Format strings (%(name)s, %(count)d, etc.) and HTML markup were preserved verbatim.

Changes

  • Ran scripts/i18n-messages update pt to sync with current messages.pot
  • Filling ~502 previously untranslated msgid entries (in progress — batching)
  • Left fuzzy entries unchanged (marked for human review)
  • Cleared stale fuzzy msgstrs with HTML structure mismatches (8 entries)
  • Fixed 56 fuzzy entries with format-string type mismatches

Validation

  • i18n-messages validate pt — 0 errors ✓
  • i18n-messages compile pt — compiled successfully ✓
  • pre-commit run --files openlibrary/i18n/pt/messages.po — clean ✓

Reviewer guidance

Please spot-check translations for:

  1. Accuracy of meaning (does the translation convey the intent?)
  2. Natural phrasing (does it sound like UI text, not literal translation?)
  3. Correct plural forms for the target language
  4. Preserved format strings and HTML

Native speakers: please edit the .po file directly on this branch.

🤖 Generated by claude-sonnet-4-6

@mekarpeles
mekarpeles marked this pull request as ready for review June 11, 2026 23:03
Copilot AI review requested due to automatic review settings June 11, 2026 23:03

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.

Copilot wasn't able to review any files in this pull request.

@mekarpeles
mekarpeles merged commit b9472d0 into master Jun 11, 2026
7 of 8 checks passed
@mekarpeles
mekarpeles deleted the i18n/pt branch June 11, 2026 23:16
@mekarpeles mekarpeles added the Theme: Internationalization (i18n) Making OpenLibrary work for both foreign-language users and books. [managed] label Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Theme: Internationalization (i18n) Making OpenLibrary work for both foreign-language users and books. [managed]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants