iOS:除非地区设置为印度,否则印地语语言本地化不起作用

时间:2016-03-04 16:54:24

标签: ios xcode localizable.strings

我有一个使用本地化以不同语言制作的应用程序:

Localized strings

我遇到的问题是,用户还需要将手机区域设置为印度。如果用户的电话是印地语但位于美国,则会使用默认的英文字符串。

Region

即使该地区位于不同的国家/地区,我如何使用印地语字符串?

1 个答案:

答案 0 :(得分:2)

When you added your localization, you chose "Hindi (India)." You wanted to just select "Hindi" which is unconstrained:

enter image description here

It's probably easiest to fix this by adding a "hi" localization, copying your strings to it, and then deleting the "hi-IN" localization.

相关问题