     try output.write(toFile: toFile, atomically: true, encoding: .utf16) //From Apple: Note: It is recommended that you save strings files using the UTF-16 encoding, which is the default encoding for standard strings files. It is possible to create strings files using other property-list formats, including binary property-list formats and XML formats that use the UTF-8 encoding, but doing so is not recommended. For more information about Unicode and its text encodings, go to http://www.unicode.org/ or http://en.wikipedia.org/wiki/Unicode.
 }
 
-func writeLocalizedDescriptionForAppStore(localizedDescription: String, locale: String, path: String) throws {
+// See "Localized Metadata" section here: https://docs.fastlane.tools/actions/deliver/
+func writeFastlaneAppStoreLocalizedMetadataFile(fileName: String, contents: String, locale: String, path: String) throws {
     let pathForFastlaneMetadataForLocale = "\(path)/fastlane/metadata/\(locale)"
     try FileManager.default.createDirectory(atPath: pathForFastlaneMetadataForLocale, withIntermediateDirectories: true, attributes: nil)
-    
-    let descriptionFileURL = URL(fileURLWithPath:"\(pathForFastlaneMetadataForLocale)/description.txt",  isDirectory: false)
-    try localizedDescription.write(to: descriptionFileURL, atomically: true, encoding: .utf8)
+    let descriptionFileURL = URL(fileURLWithPath:"\(pathForFastlaneMetadataForLocale)/\(fileName)",  isDirectory: false)
+    try contents.write(to: descriptionFileURL, atomically: true, encoding: .utf8)
 }
 
 func writeTWNStrings(fromDictionary dictionary: [String: String], toFile: String, escaped: Bool) throws {

//              mutableString.replaceCharacters(in: replacementRange, with: replacement)
//              offset += (replacement as NSString).length - replacementRange.length
//          }
// 			try mutableString.write(toFile: path, atomically: true, encoding: String.Encoding.utf8.rawValue)
//      } catch { }
// }

    let twnQQQPath = "\(path)/Wikipedia/Localizations/qqq.lproj/Localizable.strings"
    let twnENPath = "\(path)/Wikipedia/Localizations/en.lproj/Localizable.strings"
    guard let iOSEN = NSDictionary(contentsOfFile: iOSENPath) else {
        print("Unable to read \(iOSENPath)")
        abort()
    }
    
    let twnQQQ = NSMutableDictionary()
