Xcode: best way to localize one of the "Other" languages?

327 Views Asked by At

In Xcode 5 > Project > Info > Localizations one can pick a language/region from Other section. Can one localize an app for a region/language that is not among the 32 languages found under Settings.app > General > International > Language without any extra code? And what about InfoPlist.strings and its CFBundleDisplayName localized to a region?

enter image description here

Take Belarusian (be), for example. Can Xcode use be.lproj at runtime without any additional code (on my part)? Or must one manually pick the locale, i.e. using [[NSLocale currentLocale] localeIdentifier]?

Apart from Localizable.strings (for which one can provide code, if need be), I'm mostly concerned about CFBundleDisplayName: can CFBundleDisplayName be localized to one of the Other languages/regions? As far as I can tell, InfoPlist.strings (and CFBundleDisplayName within it) can't be manipulated from code.


Related:


I could have a separate Target for each of those Other languages:

  • That is, localize those 32 supported languages under Target 32 (for which Xcode can automatically pick correct .lproj directory).
  • And Belarusian goes under say Target Be (and has only one Localizable.strings and InfoPlist.strings)?

Obviously, this would mean a lot of targets (and tiresome submit procedure). Is this multiple-targets approach the best possible?

0

There are 0 best solutions below