Include contribute/develop subpages in translation POT - #527
Open
cuspymd wants to merge 1 commit into
Open
Conversation
The md2po glob for the Contribute section only matched top-level _i18n/en/contribute/*.md files, so develop.md's subpages (develop/*.md, develop/app/*.md) were never extracted into the POT and could never be translated in Weblate for any language. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
md2poglob in the "Create/update POT file of Contribute section" step only matched top-level_i18n/en/contribute/*.mdfiles.develop.md's subpages (develop/app.md,develop/infrastructure.md,develop/upstream.md,develop/website.md,develop/app/*.md) live one and two levels deeper, so they were never extracted intosite-contribute.potand could never be translated in Weblate, for any language._i18n/en/contribute/*/*.mdand_i18n/en/contribute/*/*/*.mdto the glob, matching the pattern already used for the Documentation section a few lines below.Test plan
contribute/develop/*.mdandcontribute/develop/app/*.mdon the next run against_i18n/enchanges.🤖 Generated with Claude Code