         if key.hasPrefix("//") {
             langs[i - 1].append(key)
         } else if line[i] != "" {
-            langs[i - 1].append("\"\(key)\" = \"\(line[i])\";")
+            let localization: String
+            switch platform {
+            case .Android:
+                let keyForAndroid = String(key.characters.map {
+                    $0 == " " ? "_" : $0
+                    }).lowercaseString
+                localization = "<string name=\"\(keyForAndroid)\">\(line[i])</string>"
+            case .iOS:
+                localization = "\"\(key)\" = \"\(line[i])\";"
+            }
+            langs[i - 1].append(localization)
         }
     }
 }

        withIntermediateDirectories: true,
        attributes: nil)
    for i in 0..<firstRow.count {
        let currentDirPath = NSURL(fileURLWithPath: NSFileManager.defaultManager().currentDirectoryPath).URLByAppendingPathComponent("\(firstRow[i]).lproj", isDirectory: true)
        try! NSFileManager.defaultManager().createDirectoryAtURL(currentDirPath, withIntermediateDirectories: true, attributes: nil)
        let result = langs[i].reduce("") { $0 + $1 + "\n" }
        let currentFilePath = currentDirPath.URLByAppendingPathComponent("Localizable.strings")
        result.dataUsingEncoding(NSUTF8StringEncoding)?.writeToURL(currentFilePath, atomically: true)
        
        print(currentFilePath)

#!/usr/bin/swift

import Foundation

enum Platform {
    case Android, iOS
}

let platform: Platform = .Android

//Parse google doc
dump(Process.arguments)
