Skip to content

i18n(id): AI translation update — sync with messages.pot (2026-06-16)#12944

Merged
mekarpeles merged 1 commit into
masterfrom
i18n/id
Jun 17, 2026
Merged

i18n(id): AI translation update — sync with messages.pot (2026-06-16)#12944
mekarpeles merged 1 commit into
masterfrom
i18n/id

Conversation

@mekarpeles

Copy link
Copy Markdown
Member

Summary

Syncs the Indonesian (id) translation file with the current messages.pot template and fills 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 id to sync with current messages.pot
  • Re-applied 1767 prior translations from previous work on this branch
  • Added 54 new translations for strings added in the latest messages.pot
  • Fixed 8 HTML attribute mismatches via fix_html_attrs
  • Cleared 10 invalid translations (format-string mismatches, %(username)s-in-href, stray HTML)
  • Fixed 2 <em><i> tag substitutions to match msgid structure
  • Left fuzzy entries unchanged (marked for human review)

Validation

  • i18n-messages validate id — 0 errors ✓
  • i18n-messages compile id — compiled successfully ✓
  • pre-commit run --files openlibrary/i18n/id/messages.po — clean ✓
  • test_po_files.py -k id --noconftest — 292 passed, 0 failed ✓

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. Preserved format strings and HTML

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

🤖 Generated by claude-sonnet-4-6

Syncs Indonesian (id) translation with latest messages.pot from master.
Re-applied 1767 prior translations + 54 new strings from updated messages.pot.
Fixed 8 HTML attribute mismatches, 10 invalid translations (cleared msgstr),
2 <em>→<i> tag substitutions.

🤖 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.
@mekarpeles mekarpeles marked this pull request as ready for review June 17, 2026 00:23
Copilot AI review requested due to automatic review settings June 17, 2026 00:23

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 5a665f3 into master Jun 17, 2026
7 of 8 checks passed
@mekarpeles mekarpeles deleted the i18n/id branch June 17, 2026 04:39
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