i am using Localize-Swift library (Link) to localize my application and it works fine with .strings files. the problem is that i have to localize to a language
Requires restart of app. Follow below lines of code.
UserDefaults.standard.set(["language identifier"], forKey: "AppleLanguages") UserDefaults.standard.synchronize()
Restart of app not requires ( the answer may requires customization in provided source code). Follow the provided web link.
http://www.factorialcomplexity.com/blog/2015/01/28/how-to-change-localization-internally-in-your-ios-application.html