134929eb0bdaa92d0b19a908876290b5239aee88
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.
9 * Output is posted from time to time on:
10 * http://meta.wikimedia.org/wiki/Localization_statistics
14 require_once('commandLine.inc');
16 if ( 'en' == $wgLanguageCode ) {
17 print "Current selected language is English. Cannot check translations.\n";
22 $msgarray = 'wgAllMessages' . ucfirst( $wgLanguageCode );
24 foreach ( $wgAllMessagesEn as $code => $msg ) {
26 if ( ! array_key_exists( $code, $
$msgarray ) ) {
27 print "'{$code}' => \"$msg\",\n";
32 print "{$count} messages of {$total} not translated.\n";