             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 numberString == "0" {
+                if let key = keysByPrefix[numberString] {
+                    keyForComponent = key
                     actualComponent = (component as NSString).substring(from: match.range.length) as String?
-                    keyForComponent = "zero"
-                }
-                
+                } else {
+                    print("Unsupported prefix. Ignoring \(String(describing: component))")
+                }
             } else {
                 if keyIndex < keys.count {
                     keyForComponent = keys[keyIndex]

    return nil
}()

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()
