NSLocalizedString does not recognize Localizable.strings strings

0

Next I'm trying to use the swift string localization system, but apparently it does not recognize the strings, for example instead of appearing the string Home appears txtinicio, I'm trying to access the strings like this:

NSLocalizedString("txtinicio", comment: "")

My settings look like this:

Mystringfilehasthefollowingstrings:

"txtinicio" = "Início";

String file configuration looks like this:

    
asked by anonymous 13.09.2018 / 16:03

1 answer

0

I was able to solve the problem definitively, what was happening and that in the framework I was using it used localizable, and used the default file Localizable.strings, in my project the file of strings also had that name, the solution was to change the strings file name in my project, worked

    
14.09.2018 / 23:41