In general I know how to do the Localization of iOS apps, the only thing is to choose between available ways and do it the right way. So I'd like to ask you about your l10n approach for your projects.
Here are my inputs:
- I have 15 XIB files (packed with lots of IB outlets that are not synthesized as properties, but will have to be localized).
- It is most likely that that my app will have 3-5 language versions, but it is possible that I will even go for 10 languages in the future.
- In near future I plan to add new targets that may change UI design (paid/free versions).
I see two ways I could go:
Option A: localize each nib file by making XIBs localizable and adding language versions:
- I fear that with 15 XIBs and 3-5 languages it will be maintenance horror that will go out of my control when I'll extend localization to ~10 languages and introduce new targets (maintenance horror is not about SCM, I'm using git btw).
- I'd need to keep in sync all versions of XIBs which would effect in painful change-request process.
- I also fear that my app bundle will grow big (currently XIBs use ~1.1 MB and translate to ~120 kB of NIB files).
- when I'll decide to do iPad version, the number of XIBs will grow again.
Option B: do the localization in the code by wiring up all needed outlets synthesizing them to properties and setting their labels/titles correctly:
- I fear that my app memory footprint will be really big. Or, considering proper mem mgmt, should I not consider this an issue?
I'd go for 2nd option as I see less cons to it and it can allow having everything in one place under control in each view controller, but I'd like to know what would be your choice? Which way works better for you?
EDIT: I know that that ibtool could simplify the process in Plan A, but I'm still not convinced for it.