我得到:
error: read failed: The data couldn’t be read because it isn’t in the correct format.
尝试运行我的本地化文件时:
"Hi" = "Hi translated"
"Bye" = "Bye translated"
有什么想法吗?仅在 Objective-C 中找到其他答案。
最佳答案
即使您使用的 Swift 不需要 ;
,您仍然需要在本地化文件中使用分号。正确的格式是:
"Hi" = "Hi translated";
"Bye" = "Bye translated";
关于swift - 本地化 - "error: read failed: The data couldn’ 无法读取,因为它的格式不正确”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44505641/