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

Categories

0 votes
1.4k views
in Technique[技术] by (71.8m points)

添加简体中文多语言报错



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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...