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
Localize-Swift
found my answer :
NSUserDefaults.standardUserDefaults().setObject(["language identifier"], forKey: "AppleLanguages") NSUserDefaults.standardUserDefaults().synchronize()
unfortunately user must restart the app! if anyone could find a solution to not restart the application please inform me.