XCode 4, Adding localization

后端 未结 1 1978
故里飘歌
故里飘歌 2021-01-06 06:01

I have just moved to xcode4 and boy am i confused! :)

For one, in the screenshot, you could see the localizable strings, a couple of the file names changed to \"null

相关标签:
1条回答
  • 2021-01-06 06:14

    The languages will be read from NSGlobalDomain's AppleLanguages. Try to add your own identifier to that list.

    % defaults read NSGlobalDomain AppleLanguages
    ("en_GB", en, fr, de, ...)
    % defaults write NSGlobalDomain AppleLanguages "(HongKong, "en_GB", en, fr, de, ...)"
    % defaults read NSGlobalDomain AppleLanguages
    (HongKong, "en_GB", en, fr, de, ...)
    
    0 讨论(0)
提交回复
热议问题