V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
lex
V2EX  ›  iDev

怎样设置系统才会调用 zh-Hant-TW.lproj 下的 Localizable.strings?

  •  
  •   lex ·
    lexrus · 2012-01-06 19:07:44 +08:00 · 7028 次点击
    这是一个创建于 4465 天前的主题,其中的信息可能已经有所发展或是发生改变。
    为了让台湾用户看到“程式”而不是“程序”,所以我把已经可以用的 zh-Hant.lproj 复制出一份 zh-Hant-TW.lproj,但是不管我怎么设置 iOS 系统的“地区格式”和“语言”,都不会调用 zh-Hant-TW.lproj/Localizable.strings。
    如果我设置”地区格式为“台湾”,语言设置成“繁体中文”,那我用 NSLog(@"local: %@", [[NSLocale currentLocale] localeIdentifier]); 看到的结果已经是 “zh_TW“,但是会调用 en.lproj/Localizable.strings,为什么呢?
    1 条回复    1970-01-01 08:00:00 +08:00
    icyflash
        1
    icyflash  
       2012-01-06 19:23:15 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1395 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 23:41 · PVG 07:41 · LAX 16:41 · JFK 19:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.