case 'he':
            		// Hebrew was completely wrong.
            		$languageCode = 'iw_IL';
            		break;
            	case 'zh':
            		$languageCode = 'zh_CN';
            		break;
            	default:
            		// For de, pt, fr, es, it, ro, hr, ru.
            		$languageCode = strtolower($twoLetterCode).'_'.strtoupper($twoLetterCode);
            	}
            	// Keep a list of all the language codes.
            	$allLanguageIds[$languageCode] = $languageCode;

            	// Save the name of the loaded file so we can delete it later.
                $origFile = $sourceFile->getSourceFile();

                // Change the language code to the new format.
                $sourceFile->setLanguageId($languageCode);

                // Save in the new format.
                $sourceFile->saveAsXml();

                // Verify that the saved file is the same as the original.
                $copyLanguage = new LocalizerLanguage($prefix, $languageCode);
                $loadSuccess = $copyLanguage->loadXmlFile();

                echo $pathname."\n";
                if (!$copyLanguage->equal($sourceFile) || ($copyLanguage->getNumStrings() <= 0) || !$loadSuccess) {
                	echo "FAIL";
                }