mav
mav

Reputation: 11

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 for any advice.

Upvotes: 1

Views: 223

Answers (2)

dawg
dawg

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.

Use the tools luke!

Upvotes: 2

Ruben Marin
Ruben Marin

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

Related Questions