2

Possible Duplicate:
iPhone App Localization - English problems?

I am working on an App for iOS devices. I made it available for English (en) and German (de). That works fine with localization. Now I want to create a specified localization for German with region Luxemburg: German (Luxemburg) or de_LU. I added it into my Localizable.strings but nothing happened... I deleted the cache, I reinstall the app serval times: Nothing. He ignores that.

My iPhone is configured with the German language and Luxemburg as region.

Where is the problem? Or is it impossible to do that?

4

3 回答 3

0

不幸的是,我认为目前在 iOS 4 中支持方言是不可能的。

于 2011-07-22T18:13:46.640 回答
0

有可能,要本地化到那种文化,你应该有一个de-LU.lproj文件夹,是这样吗?

一个典型的应用程序每个本地化至少有一个字符串文件,也就是说,每个包的 .lproj 子目录中都有一个字符串文件。默认字符串文件的名称是 Localizable.strings,但您可以使用您选择的任何文件名创建字符串文件。

(引用苹果文档

如果您使用的是 Xcode 4,只需转到项目设置、信息选项卡,然后从那里添加您的本地化,它将为您相应地设置项目。

另请注意,Apple 建议您使用UTF-16编码保存字符串文件

于 2011-04-03T09:47:54.537 回答
0

检查代码中的地区和语言。如果语言为德语和卢森堡地区,则保留新的本地化密钥。并在德语本地化文件中初始化该密钥。它对我有用。

于 2011-05-26T05:05:50.557 回答