如何翻墙用cfbundledisplayname

iOS(400)
用pledit.exe打开Info.plist文件,在最下方加入这两行语句
我的整个文件是这样的
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:1098224次
积分:12098
积分:12098
排名:第738名
原创:53篇
转载:873篇
评论:62条
(8)(21)(4)(6)(42)(4)(1)(5)(2)(11)(18)(21)(43)(3)(4)(11)(5)(3)(2)(7)(2)(4)(39)(60)(24)(86)(119)(92)(2)(2)(2)(1)(5)(18)(3)(17)(20)(97)(59)(35)(20)(1)ios cfbundledisplayname怎么修改_百度知道
ios cfbundledisplayname怎么修改
提问者采纳
把strings 备份一下然後砍掉strings重新来一次( 真的放到垃圾桶)包含get info ,add localization动作都做一次最後在产生出来的多国空文件里 贴上之前的备份在真机跑看看
资深电脑人
其他类似问题
为您推荐:
ios的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁Pages: 1/2
主题 : App名字如何支持多语言 (CFBundleDisplayName)
级别: 新手上路
可可豆: 95 CB
威望: 95 点
在线时间: 38(时)
发自: Web Page
App名字如何支持多语言 (CFBundleDisplayName)&&&
            我在模拟器上已经实现支持多语言,可以显示中文。但是app放到真机上  竟然不支持中文  是怎么回事?            实现支持多语言是按照yakie的帖子做的。[ 此帖被lvyile在 04:16 PM重新编辑 ]
级别: 精灵王
可可豆: 16972 CB
威望: 16971 点
在线时间: 844(时)
发自: Web Page
按我哪个帖子做的?这个?看下7楼
级别: 新手上路
可可豆: 95 CB
威望: 95 点
在线时间: 38(时)
发自: Web Page
yakie 是按照你的这篇帖子 做的info.plist文件已经有中文和英文两个文件info.plist是程序启动的时候自动调用的嘛?
级别: 精灵王
可可豆: 16972 CB
威望: 16971 点
在线时间: 844(时)
发自: Web Page
那个帖子不是我发的吧多语言不是两个plist文件,而是多个strings
级别: 新手上路
可可豆: 60 CB
威望: 60 点
在线时间: 12(时)
发自: Web Page
把strings 備份一下然後砍掉strings重新來一次( 真的放到垃圾桶)包含get info ,add localization動作都做一次最後在產生出來的多國空文件裡 貼上之前的備份在真機跑看看
发帖: 7690
可可豆: 73343 CB
威望: 73469 点
在线时间: 5514(时)
发自: Web Page
我记得从前Toolchain的时候,如果不用springboard,而是直接用ssh打开程序,就不支持多语言和重力加速,如果是直接在springboard上点图标就可以。不知道是不是这个问题。
In all thy ways acknowledge Him, and He shall direct thy paths.
级别: 骑士
可可豆: 4364 CB
威望: 4364 点
在线时间: 465(时)
发自: Web Page
我的问题还没解决,软件名称如何支持多语言?就是dock下面那个名称,这时候应用都还没打开,应该不是在程序里做吧?
我们的婚礼APP
级别: 精灵王
可可豆: 3880 CB
威望: 3880 点
在线时间: 359(时)
发自: Web Page
记得用UTF-16
There is no place like 127.0.0.1
可可豆: 13190 CB
威望: 13165 点
在线时间: 2248(时)
发自: Web Page
Re:iPhone 多语言问题  急!
引用 引用第6楼ezshine于 00:53发表的&&:我的问题还没解决,软件名称如何支持多语言?就是dock下面那个名称,这时候应用都还没打开,应该不是在程序里做吧?建立InfoPlist.stringsCFBundleDisplayName = &xxxxxxxxxxx&;Info.plist内增加Application has localized display nametype boolean, 选中
本帖最近评分记录: 共威望条评分记录
Some rather naïve people assume that I learned from a book, still others even think I took a class to learn all of this! I can say definitively that it’s in my opinion that to be a great iOS developer, you just need to write apps, and lots of them. Experiment, try different things out. (from: /)
级别: 新手上路
可可豆: 50 CB
威望: 50 点
在线时间: 26(时)
发自: Web Page
选 info.plist ,Cmd + I,点击 Make Localization 按钮,剩下的就跟本地化字符串一样的操作了。祝你好运
Pages: 1/2
关注本帖(如果有新回复会站内信通知您)
8*2-5 正确答案:11
发帖、回帖都会得到可观的积分奖励。
按"Ctrl+Enter"直接提交
关注CocoaChina
关注微信 每日推荐
扫一扫 浏览移动版iOS 获取手机的型号,系统版本,软件名称,软件版本
网上搜索出来的,记录下来以后使用方便:
//手机序列号&&
&&& NSString* identifierNumber = [[UIDevice currentDevice] uniqueIdentifier];&
&&& NSLog(@&手机序列号: %@&,identifierNumber);&
&&& //手机别名: 用户定义的名称&&
&&& NSString* userPhoneName = [[UIDevice currentDevice] name];&
&&& NSLog(@&手机别名: %@&, userPhoneName);&
&&& //设备名称&&
&&& NSString* deviceName = [[UIDevice currentDevice] systemName];&
&&& NSLog(@&设备名称: %@&,deviceName );&
&&& //手机版本&&
&&& NSString* phoneVersion = [[UIDevice currentDevice] systemVersion];&
&&& NSLog(@&手机系统版本: %@&, phoneVersion);&
&&& //手机型号&&
&&& NSString* phoneModel = [[UIDevice currentDevice] model];&
&&& NSLog(@&手机型号: %@&,phoneModel );&
&&& //地方型号& (国际化区域名称)&&
&&& NSString* localPhoneModel = [[UIDevice currentDevice] localizedModel];&
&&& NSLog(@&国际化区域名称: %@&,localPhoneModel );&
&&& NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];&
&&& // 当前应用名称&&
&&& NSString *appCurName = [infoDictionary objectForKey:@&CFBundleDisplayName&];&
&&& NSLog(@&当前应用名称:%@&,appCurName);&
&&& // 当前应用软件版本& 比如:1.0.1&&
&&& NSString *appCurVersion = [infoDictionary objectForKey:@&CFBundleShortVersionString&];&
&&& NSLog(@&当前应用软件版本:%@&,appCurVersion);&
&&& // 当前应用版本号码&& int类型&&
&&& NSString *appCurVersionNum = [infoDictionary objectForKey:@&CFBundleVersion&];&
&&& NSLog(@&当前应用版本号码:%@&,appCurVersionNum);&
//手机序列号
&&& NSString* identifierNumber = [[UIDevice currentDevice] uniqueIdentifier];
&&& NSLog(@&手机序列号: %@&,identifierNumber);
&&& //手机别名: 用户定义的名称
&&& NSString* userPhoneName = [[UIDevice currentDevice] name];
&&& NSLog(@&手机别名: %@&, userPhoneName);
&&& //设备名称
&&& NSString* deviceName = [[UIDevice currentDevice] systemName];
&&& NSLog(@&设备名称: %@&,deviceName );
&&& //手机系统版本
&&& NSString* phoneVersion = [[UIDevice currentDevice] systemVersion];
&&& NSLog(@&手机系统版本: %@&, phoneVersion);
&&& //手机型号
&&& NSString* phoneModel = [[UIDevice currentDevice] model];
&&& NSLog(@&手机型号: %@&,phoneModel );
&&& //地方型号& (国际化区域名称)
&&& NSString* localPhoneModel = [[UIDevice currentDevice] localizedModel];
&&& NSLog(@&国际化区域名称: %@&,localPhoneModel );
&&& NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];
&&& // 当前应用名称
&&& NSString *appCurName = [infoDictionary objectForKey:@&CFBundleDisplayName&];
&&& NSLog(@&当前应用名称:%@&,appCurName);
&&& // 当前应用软件版本& 比如:1.0.1
&&& NSString *appCurVersion = [infoDictionary objectForKey:@&CFBundleShortVersionString&];
&&& NSLog(@&当前应用软件版本:%@&,appCurVersion);
&&& // 当前应用版本号码&& int类型
&&& NSString *appCurVersionNum = [infoDictionary objectForKey:@&CFBundleVersion&];
&&& NSLog(@&当前应用版本号码:%@&,appCurVersionNum);
14:07:47.622 myDemo[] 手机序列号: 04be0b04c6ceb7f746&
14:07:47.624 myDemo[] 手机别名: &spring sky&的 iPod&
14:07:47.627 myDemo[] 设备名称: iPhone OS&
14:07:47.629 myDemo[] 手机系统版本: 5.1.1&
14:07:47.641 myDemo[] 手机型号: iPod touch&
14:07:47.642 myDemo[] 国际化区域名称: iPod touch&
14:07:47.643 myDemo[] 当前应用名称:myDemo&
14:07:47.645 myDemo[] 当前应用软件版本:1.0.1&
14:07:47.646 myDemo[] 当前应用版本号码:101&
14:07:47.622 myDemo[] 手机序列号: 04be0b04c6ceb7f746
14:07:47.624 myDemo[] 手机别名: &spring sky&的 iPod
14:07:47.627 myDemo[] 设备名称: iPhone OS
14:07:47.629 myDemo[] 手机系统版本: 5.1.1
14:07:47.641 myDemo[] 手机型号: iPod touch
14:07:47.642 myDemo[] 国际化区域名称: iPod touch
14:07:47.643 myDemo[] 当前应用名称:myDemo
14:07:47.645 myDemo[] 当前应用软件版本:1.0.1
14:07:47.646 myDemo[] 当前应用版本号码:101
(window.slotbydup=window.slotbydup || []).push({
id: '2467140',
container: s,
size: '1000,90',
display: 'inlay-fix'
(window.slotbydup=window.slotbydup || []).push({
id: '2467141',
container: s,
size: '1000,90',
display: 'inlay-fix'
(window.slotbydup=window.slotbydup || []).push({
id: '2467143',
container: s,
size: '1000,90',
display: 'inlay-fix'
(window.slotbydup=window.slotbydup || []).push({
id: '2467148',
container: s,
size: '1000,90',
display: 'inlay-fix'Xcode6获取app名字的方法和Xcode5的不同_百度知道
Xcode6获取app名字的方法和Xcode5的不同
1.在Xcode5下,获取程序名字(app name)的方法为:NSString *proName = [[[NSBundle mainBundle] infoDictionary] objectForKey:@&CFBundleDisplayName&];NSLog(@&dicName ==== %@&,[[NSBundle mainBundle] infoDictionary]);打印之后可以看到:CFBundleDisplayName = TestOfBCFBundleName = TestOfB 2.在Xcode6下,获取程序名字(app name)的方法为:NSString *proName = [[[NSBundle mainBundle] infoDictionary] objectForKey:@&CFBundleName&];NSLog(@&dicName ==== %@&,[[NSBundle mainBundle] infoDictionary]);打印之后可以看到:CFBundleName = TestOfB没有了这一键值:CFBundleDisplayName = TestOfB而 Xcode6 程序的CFBundleDisplayName可以在info.plist里添加这个key。 3.说到 Info.plist,在Xcode6中,没有 info.string 文件,只有 Info.plist 文件,所以,如果做国际化可以新建一个 Info.string,来弥补Xcode6中 Info.string 的缺失。而且如果要在这里改app name 则,CFBundleDisplayName 要加上双引号。然后,剩余的国际化进行的操作和网上介绍的方法雷同了
其他类似问题
为您推荐:
名字的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁

我要回帖

更多关于 如何设置无线路由器 的文章

 

随机推荐