Closed gustavoggs closed 6 years ago
Example, I have this files: es-CO es-MX es en
If I do not have a string in es file, it is getting the string from es-CO, what is unexpected.
The problem looks to be in this part of the code:
if bundle.path(forResource: tableName, ofType: "strings") != nil {
let localized = bundle.localizedString(forKey: key, value: nil, table: tableName)
if localized != key {
return localized
}
}
@ggrana thanks for your contribution right now is working, I'll close this one !!!
Is there a way to set the fallback languages if I want something different from what apple does?