4 * @subpackage Maintenance
5 * Check to see if all messages have been translated into the selected language.
6 * To run this script, you must have a working installation, and it checks the
7 * selected language of that installation.
11 require_once('commandLine.inc');
13 if ( 'en' == $wgLanguageCode ) {
14 print "Current selected language is English. Cannot check translations.\n";
19 $msgarray = 'wgAllMessages' . ucfirst( $wgLanguageCode );
21 foreach ( $wgAllMessagesEn as $code => $msg ) {
23 if ( ! array_key_exists( $code, $
$msgarray ) ) {
24 print "'{$code}' => \"$msg\",\n";
29 print "{$count} messages of {$total} not translated.\n";