we want to support localisation for some iOS native popup, it should be depend on the localisation part in xcode, but how to maintain this part in Unity iOS postscript?
we have successfully added the localisation lproj
files to the project, but the localisation part is still not updated, we can manually drag the plist.strings
to the Unity-iPhone to add the localisation, but we want to implement it in post-script to automatically change it.
2
Answers
Finally, we found a solution that worked: using the Unity Localisation Package and adding the iOS metadata.
After adding any string localization, the ios build will add localisation automatically.
https://docs.unity3d.com/Packages/[email protected]/manual/index.html
https://docs.unity3d.com/Packages/[email protected]/manual/iOS-App-Localization.html
I don’t think there is any ready-to-use solution for such a task.
However, I’m confident you can modify the project file as it is a text file (to be more precise, an
xcodeproj
is a directory rather than a file, as you can see by selecting "show package content" in the context menu in the finder).So:
I’ve just added manually Catalan localization in XCode and my change looks like that