I made Localizable.string files and compiled my project (my source code uses NSLocalizedString
macro function) but my project doesn't compile because of the Localizable.string
file. If I comment all the lines in the Localizable.string
file, my project compiles successfully.
As result, the problem is related with the Localizable.string
files. I searched about it on Google, I found that UTF-8 files (Localizable.string) has changed to UTF-16. And though I tried this... this way didn't work, too.
===============================================================
My Localizable.string file contains:
"LOCAL_APP_GRADE" = "Basic"
"LOCAL_APP_LAST_UPDATED_DATE" = "2011/04/20"
"LOCAL_MAIN_MENU_TITLE" = "Main Menu"
In my source code:
NSLocalizedString( @"LOCAL_MAIN_MENU_TITLE", @"" );
Error message:
Copy .strings file Error Validation failed: The data couldn't be read because it has been corrupted.