translation of many xib files
i've ultimated a project in objective c, the problem is that i've more than 10 XIB files, each one with many label, button ecc.
I'm developing in German, i wish to make a English version, how can i do this in a simple and efficiente way? All with NSLocalizableString? I want avoid to duplicate each xib if possible.
Thanks fo开发者_如何学编程r any advice.
Matt Gallagher has a great article on internationalization.
Bottom line: Produce a ".strings" file with ibtool; Use ".strings" files for internationalizations, and NSLocalizedString to load them.
Use the tools luke!
If you are populating those labels, buttons, etc. inside the XIBs, you will have to make new XIBs for every language.
精彩评论