Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories



想要给国际化增加一个汉语(简体中文)的多语言,但是添加完之后直接提示“Localizable.strings” couldn’t be copied to “zh-Hans.lproj” because an item with the same name already exists.,明明没有添加简体中文的,但是就是添加不进去,其他语言就可以正常添加,有没有谁知道这种是什么情况的?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.4k views
Welcome To Ask or Share your Answers For Others

1 Answer

找到原因了,估计是之前的同事有添加过简体中文进多语言,删除的时候没有把工程内的文件删除,只是移除了列表里的数据,导致重新添加时语言文件添加不进去。进入项目把之前添加的简体中文文件删除,再重新添加就可以了。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...