Skip to content

Creates the do-not-translate mark#311

Open
alfsb wants to merge 2 commits into
php:masterfrom
alfsb:dnt1
Open

Creates the do-not-translate mark#311
alfsb wants to merge 2 commits into
php:masterfrom
alfsb:dnt1

Conversation

@alfsb

@alfsb alfsb commented Jun 27, 2026

Copy link
Copy Markdown
Member

Updates the revcheck libraries to detect the <?do-not-translate?> marker in tracked files, allowing files to automatically declare that they are untranslatable and/or should not be copied into translations.

The doc-base/scripts/broken.php file was also modified along the same lines.

After this is merged, and DNT files are marked as so on doc-en, a lot of exceptional code can be removed from revcheck libs. This aligns in making doc-base more general, as it becomes less dependent on filename conventions, to facilitate the eventual splitting of external extensions manual from the language manual.

Reviews and comments welcome.

As this is a far reaching feature, plan to wait at least for two weeks before merging it,

@alfsb alfsb mentioned this pull request Jun 27, 2026
39 tasks
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