 
 //Split by language
 for line in splitted {
-    let forPlatform = parseForPlatformName(line[0])
+    let forPlatform = parseForPlatformName(input: line[0])
     let key = line[1]
     for i in 2..<line.count {
         let langIndex = i - 2


if platform == .Android {
    for i in 0..<langs.count {
        langs[i].insert("</resources>", atIndex:langs[i].count)
    }
}

//Save results
if let dirPath = path.URLByDeletingLastPathComponent?.URLByAppendingPathComponent("Result_\(platform)") {
    try! NSFileManager.defaultManager().createDirectoryAtURL(dirPath, withIntermediateDirectories: true, attributes: nil)
    for i in 0..<firstRow.count {
        let dirName: String
        switch platform {

            let comment: String
            switch platform {
            case .Android:
                let commentForAndroid = key.trimmingCharacters(in: CharacterSet(charactersIn: "/"))
                comment = "    <!-- \(commentForAndroid) -->"
            case .iOS:
                comment = key
