Skip to content

feat: add xblocks-core to translation extraction pipeline - #85196

Merged
brian-smith-tcril merged 1 commit into
openedx:mainfrom
farhan:farhan/add-xblocks-core-translations
Nov 17, 2026
Merged

brian-smith-tcril merged 1 commit into
openedx:mainfrom
farhan:farhan/add-xblocks-core-translations

Conversation

@farhan

@farhan farhan commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Ticket: openedx/xblocks-core#242 (parent epic: openedx/xblocks-core#241)

Depends on openedx/xblocks-core#329, which writes one django.po per block to <module_name>/conf/locale/en/ at the repo root.

Summary

  • extract-translation-source-files.yml: add xblocks-core to allPythonMonorepos.
  • transifex.yml: add one resource per block under translations/xblocks-core/xblock_<name>/conf/locale/. There are 9 blocks: annotatable, discussion, html, lti, pdf, poll_question, problem, video, word_cloud.

No legacy directories need to be removed. The blocks came from edx-platform, so unlike #73194 there are no standalone block repos to clean up.

🤖 Generated with Claude Code

xblocks-core consolidates the built-in XBlocks into one repo with a
conf/locale per block, so it uses the python-monorepo job. Each block
gets its own transifex.yml entry so its path matches the
openedx-platform lookup (translations/*/<module_name>/conf/locale).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@irfanuddinahmad irfanuddinahmad 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.

Looks good. With openedx/xblocks-core#329 merged (78ff5a6343), I ran the monorepo job steps locally against xblocks-core main: make extract_translations and compilemessages --locale en succeed, and the conf/locale/en search (excluding src/) finds exactly the 9 xblock_* directories, matching the 9 resources added to transifex.yml.

Generated using Claude Code

@brian-smith-tcril
brian-smith-tcril merged commit 6b1c6cd into openedx:main Nov 17, 2026
6 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.

3 participants