Manual:MergeMessageFileList.php

Details
mergeMessageFileList.php file is a maintenance script to merge from various extensions to produce a single array containing all message files.

Usage
Output: masterMessagesFile.php

Common error

 * Failed to write to $outputFile

This error occurs when the user running the script does not have permission to write the file. If you are a root user, you can run the script with sudo.