问题
I have this project that i need to add a translation to. I already know how to add localisation to single image files, but there are 200+ images with text on it in that project. Do i really have to click one file at a time, "get info", click "add localisation" enter the Language and click OK for every file? When i select multiple images the languages and do those steps the new language is not added :-/
Please someone have a way to save me from insanity ;-)
Thanks! S
回答1:
What I do is create my localizable directories (en.lproj, fr_FR.lproj, etc) then I will drag all the localizable images into their respective directories, then add all the new images to the Xcode project. Xcode is smart enough to realize that the same image name exists in multiple .lproj directories
So, to reiterate:
- Create localizable directories (you can use Get Info->Make File Localizable then add localizations for all desired locales)
- Copy images for each locale into their respective directories
- Add all the images to the xcode project
来源:https://stackoverflow.com/questions/2942771/localize-many-images-in-xcode-at-once