12.3. diff_en_rev.php

One of the scripts helping translators.

It prints a diff between the current English version and the translated version of a file. It uses the <!-- EN-Revision --> tag to determine the translated version. If the local English file has different revision, cvs diff is executed to obtain the list of changes.

It is possible to pass a directory name instead of file name. In this case, list of modified files in the directory is printed.