I am creating Localizable,strings file programatically. I am downloading the file from server and showing the localization from that file.
But if there is some error in file then my Localization don't work. It shows me the keys. If on server I edit the localization file and I added string as
"HELLO_WORLD" = Hello
Here, the key is correct but value is not in correct format. The format should be as
"HELLO_WORLD" = "Hello";
How can I programatically check at runtime if my Localizable.strings file does not contain any error and is valid.
Please help
Use plutil
from the Terminal:
plutil -lint Localizable.strings