How to add languages automatically when you export the XCode project

Hello,

I think it’s important to add all available languages in the iTunes page of all applications.

alt text

I’m looking for a script or a tip to export my Unity Project 4.5 to XCode project with my languages included in my game.
I know how to add languages in XCode but all my localizations are embedded in my Unity Game.
When I export to XCode project I got only 6 languages by default :

But how set available language in Unity to export all languages in XCode?

alt text

MY TRICK - DO IT EVRY TIME WHEN YOU EXPORT YOUR XCODE PROJECT

  1. Create one folder by language (en.lproj, fr.lproj, de.lproj, etc.) Copy and paste a dummy text file with the same name in all folders

alt text

  1. Add all folders in your XCode Project. And it’s done!

Here:
alt text

Did you have any luck automating this? I'm running into the same problem now.

Did you automate this issue? I'm running into the same problem now.

Found a perfect plugin here: https://github.com/zeyangl/UnityAppNameLocalizationForIOS

2 Answers

2

Use CFBundleLocalizations key in Info.plist

Unity will not add it automatically but it is better than creating fake locale files

I found a perfect plugin here:

AppName and permissions could be translated an automatically added in the Xcode project