In xcode4, (I have used v4.0.1 until now and downloaded v4.0.2 yesterday.)
I made Localizable.string files and compiled my project. (As you know, my source code
uses NSLocalizedString macro function.)
But my project doesn't compile with Localizable.string file. If I change all code
in this file to comments( like this -> // ), my project is compiled completely.
As result, the problem is Localizable.string files. I searched about it on Google,
I found that UTF-8 files (Localizable.string) is changed to UTF-16. And though I tried this... this way didn't work, too.
On this moment, many people are trying to use Localizable.string files. But they might
solve this problem that I can't do. Because there aren't the questions about this problem
so many.
===============================================================
In Localizable.string file,
"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.
question from:
https://stackoverflow.com/questions/5683803/localizable-strings-files-in-xcode4 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…