5

I'm looking for a way to update stringsdict localization files over-the-air without having to release a new version in the appStore. So ideally I want my stringdict files on a webserver, and the iOS app should download these files from the website and update the local strings.

After doing some research, I realized that we cannot update files in the bundle it was shipped in however I found some reports saying we could store/load localizations in/from the application support folder.

source #1

source #2

source #3

Can this also be applied to stringsdict files because I'm trying but no success so far.

Community
  • 1
  • 1
Steven B.
  • 1,429
  • 2
  • 19
  • 38
  • Did you successfully update localizable strings, before talking about stringdict, to see if the answers in the linked question are good? – Larme Mar 30 '17 at 11:42

1 Answers1

4

Basically you need to create a .bundle with your new strings and make your app download it. After that, I think it's possible to create a NSBundle object using your freshly downloaded translations and swizzle a couple of methods from the main NSBundle currently used by the system.

I've tried something similar, but found out that it's much easier to integrate an existing service such as Smartling or Lokalise. They already have an SDK that allows you to update your translation over the air.

Also I found it's much easier to manage all my translations there.

Arthur
  • 1,433
  • 1
  • 18
  • 35