iOS game localization with lproj directories not working

有些话、适合烂在心里 提交于 2019-12-10 11:27:49

问题


My game is localized in 3 different languages. In order to let iTunes Connect know that the game is localized I created these files:

  • ios\resources\en.lproj\Localizable.strings
  • ios\resources\es.lproj\Localizable.strings
  • ios\resources\ca.lproj\Localizable.strings

all three with this content:

"AppName"="MechaNika"

being MechaNika the name of my game.

However, after creating the IPA file and uploading it to iTunes Connect with the Application Loader, it says that my game is only in English, so it seems that I'm missing something.

Note that I'm not using Xcode but libGDX + IntelliJ IDEA + gradle + RoboVM.

That said, do you know how can I make this work?


回答1:


I finally got it working without any lproj directories, but just adding this to the Info.plist.xml file:

<key>CFBundleLocalizations</key>
<array>
    <string>en</string>
    <string>es</string>
    <string>ca</string>
</array>

Source 1

Source 2



来源:https://stackoverflow.com/questions/29845357/ios-game-localization-with-lproj-directories-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!