         withIntermediateDirectories: true,
         attributes: nil)
     for i in 0..<firstRow.count {
-        let currentDirPath = NSURL(fileURLWithPath: NSFileManager.defaultManager().currentDirectoryPath).URLByAppendingPathComponent("\(firstRow[i]).lproj", isDirectory: true)
+        let dirName: String
+        switch platform {
+        case .Android:
+            dirName = "values-\(firstRow[i])"
+        case .iOS:
+            dirName = "\(firstRow[i]).lproj"
+        }
+        let currentDirPath = dirPath.URLByAppendingPathComponent(dirName, 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")
+        
+        let fileName: String
+        switch platform {
+        case .Android:
+            fileName = "strings.xml"
+        case .iOS:
+            fileName = "Localizable.strings"
+        }
+        let currentFilePath = currentDirPath.URLByAppendingPathComponent(fileName)
         result.dataUsingEncoding(NSUTF8StringEncoding)?.writeToURL(currentFilePath, atomically: true)
         
         print(currentFilePath)

        if key.hasPrefix("//") {
            langs[i - 1].append(key)
        } else if line[i] != "" {
            langs[i - 1].append("\"\(key)\" = \"\(line[i])\";")
        }
    }
}

#!/usr/bin/swift

import Foundation

enum Platform {
    case Android, iOS
}

let platform: Platform = .Android

//Parse google doc
dump(Process.arguments)
