Skip to content

List of TranslatedOk files and count of files outdated more than 1 and 2 years - #344

Merged
alfsb merged 3 commits into
php:masterfrom
alfsb:revlib
Sep 24, 2026
Merged

alfsb merged 3 commits into
php:masterfrom
alfsb:revlib

Conversation

@alfsb

@alfsb alfsb commented Sep 16, 2026

Copy link
Copy Markdown
Member

This change makes revlib code to export a list of TranslatedOk files, so it will be possible to change quality and sync tools to observe only (or preferably) the files in this status.

Also exports counts of files outdated on translations, for more than 1 and 2 years, so struggling translations can be easily spotted and, for example, can receive a wide banner asking for help, and also abandoned translations can now be detected.

The statistics can be generated from the script on doc-base/scripts/translations/configure.php. I'm also seriously considering generating the same data on doc-base/scripts/translations/genrevdb.php, as this is the type of information that is already produced and used while building the manual in the main site.

For this to happen, is necessary to change a single line in genrevdb.php, from:

$revcheck = new RevcheckRun( 'en' , $lang );

to

$revcheck = new RevcheckRun( 'en' , $lang , true );

@alfsb

alfsb commented Sep 18, 2026

Copy link
Copy Markdown
Member Author

I was considering "completing" the function xinclude_remove_fallback(), into really removing any still present xi:fallback in translations, but decided against it, as it would not change the manual content in a meaningful way, and could also break various translations as result.

Comments and reviews wellcome. Plan to merge this in one week.

@alfsb
alfsb merged commit 1bec015 into php:master Sep 24, 2026
11 of 12 checks passed
@alfsb
alfsb deleted the revlib branch September 24, 2026 11:48
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.

1 participant