Today for beginners to solve the app under the Word and app name of the international multi-language processing,
Not much to say, directly on the steps:
1, open your project, stand-alone project name, select Project, directly look at the picture bar:
2. Create a localizable.strings file
(the name must be: "Localizable.strings")
(change the International app name step, "Infoplist.strings")
After the creation of the name: Now you may not have the left side of the triangle, wait for it, don't hurry ha!
3, look at the picture, find the way location: Add on the line, you can not base,
4, add to see the black triangle on the left, the next step is to fill in the internationalization of the text processing, look at the picture bar:
(title = "Boai";)
(title = "Fraternity";)
(change the International app name the same step, Cfbundledisplayname = "Bawechat";
)
5, to here, it is the last and the most critical step! Open your eyes, huh!
Internationalization of the app name on the previous step has been set up, you can casually change the app name, can be in front of the goddess every day to pack 13!
Write this in places where you need to set up internationalized text:
self.title = nslocalizedstring (@ "title", nil);
nslocalizedstring (parameter 1, parameter 2): Parameter 1 is the name you defined earlier, I define the title, here is the title, parameter 2 can not write, straight to nil on the line!
6, the workpiece into! Haha, look at the app name on the tall:
Chinese language display on mobile:
Simulator English name display:
7, you can enjoy the 13! Ha ha!
If you have any questions, you can contact me:
Sina Weibo: @ Fraternity 1616
qq:137361770
GitHub Demo Address:https://github.com/boai/BADemoTest
IOS Learning Note Six "international multi-lingual processing of text and app names in the app"