Reputation: 11
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 for any advice.
Upvotes: 1
Views: 223
Reputation: 103884
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.
Upvotes: 2
Reputation: 1637
If you are populating those labels, buttons, etc. inside the XIBs, you will have to make new XIBs for every language.
Upvotes: 0