Dynamic localization.strings definitions for an iOS app?
Is there a way that I can download Localizable.strings from my web-server to support multiple languages without rebuilding my iOS app every-time?
The default method need the language file to be in resources directory NOT documents directory of the bundl开发者_开发技巧e and *Lang_Name.lproj* directory.
Is there a custom category or addition to NSLocalizedString to use lang_name.strings file from downloaded directory (documents)
Short answer: no.
Long answer: you can achieve something similar, but you'll need to code your own wrapper for it. You can't dynamically swap out the localised strings file, but you could create your own NSLocalizedStrings replacement that, say, downloaded an XML file and parsed it upon app launch to get the required strings.
精彩评论