Switching language in running app for view elements in storyboard
问题 I have an app that that I am wanting to change languages inside the app and this works fine with the localize.strings, but this code is not triggering the main.strings files. The below is the code used in the settingsLanguageVC import UIKit let AppLanguageKey = "AppLanguage" let AppLanguageDefaultValue = "en" var appLanguage: String { get { if let language = NSUserDefaults.standardUserDefaults().stringForKey(AppLanguageKey) { return language } else { NSUserDefaults.standardUserDefaults()