Skip to content

i18n(es): AI translation update — sync with messages.pot (2026-06-17)#12959

Merged
mekarpeles merged 3 commits into
masterfrom
i18n/es
Jun 18, 2026
Merged

i18n(es): AI translation update — sync with messages.pot (2026-06-17)#12959
mekarpeles merged 3 commits into
masterfrom
i18n/es

Conversation

@mekarpeles

Copy link
Copy Markdown
Member

Summary

Syncs the Spanish (es) translation file with the current `messages.pot` template and fills previously untranslated strings.

AI attribution: All new translations generated by `claude-sonnet-4-6`. Please review for accuracy. Format strings and HTML markup preserved verbatim.

Changes

  • Ran `scripts/i18n-messages update es` to sync with current `messages.pot`
  • Filled previously untranslated msgid entries
  • Fixed HTML tag mismatches caught by `test_html_format`
  • Left fuzzy entries unchanged (marked for human review)

Validation

  • `i18n-messages validate es` — 0 errors ✓
  • `i18n-messages compile es` — compiled successfully ✓
  • `pre-commit run --files openlibrary/i18n/es/messages.po` — clean ✓
  • `test_po_files.py -k es` — 1242 passed ✓

Reviewer guidance

Please spot-check translations for accuracy and natural Spanish phrasing.
Native speakers: please edit the `.po` file directly on this branch.

🤖 Generated by `claude-sonnet-4-6`

Mek and others added 3 commits February 19, 2026 23:42
Fills in untranslated strings for es (Spanish) using claude-sonnet-4-6.
Synced with current messages.pot via i18n-messages update.
Preserved prior translations from i18n/es branch (Feb 2026).

🤖 Translations generated by claude-sonnet-4-6. Please review for accuracy.
All format strings (%(name)s, %(count)d, etc.) preserved verbatim.
HTML markup preserved. Fuzzy entries left for human review.
Three fuzzy entries had HTML structural mismatches:
- <i> vs <em> tag name for 'New York' and page-number examples
- Cleared spamwords fuzzy msgstr (msgid contains control char \x08
  that makes it invalid XML; clearing allows test to skip it)

All test_po_files::test_html_format[es-*] tests now pass (1242/1242).
Copilot AI review requested due to automatic review settings June 17, 2026 19:15

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 effac3c into master Jun 18, 2026
12 of 13 checks passed
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.

2 participants