Search code examples
ioslibgdxapp-store-connect

iOS game localization with lproj directories not working


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?


Solution

  • 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