             var keyForComponent: String?
             var actualComponent: String? = component
             if let match = countPrefixRegex.firstMatch(in: component, options: [], range: component.fullRange) {
-                // Support for 0= 2=
                 let numberString = countPrefixRegex.replacementString(for: match, in: component, offset: 0, template: "$1")
-                if let key = keysByPrefix[numberString] {
-                    keyForComponent = key
+                if numberString == "0" {
                     actualComponent = (component as NSString).substring(from: match.range.length) as String?
-                } else {
-                    print("Unsupported prefix. Ignoring \(String(describing: component))")
-                }
+                    keyForComponent = "zero"
+                }
+                
             } else {
                 if keyIndex < keys.count {
                     keyForComponent = keys[keyIndex]

    return nil
}()

let keysByPrefix = ["0":"zero", "2":"two", "1":"one"]
extension String {
    var fullRange: NSRange {
        return NSRange(location: 0, length: (self as NSString).length)


func importLocalizationsFromTWN(_ path: String) {
    let enPath = "\(path)/Wikipedia/iOS Native Localizations/en.lproj/Localizable.strings"

    guard let enDictionary = NSDictionary(contentsOfFile: enPath) as? [String: String] else {
        print("Unable to read \(enPath)")
        abort()
