title: Localisation Settings Not Changing the System Defined Text in Swift 4.2
body: <p>I have 2 lang support for my app
  1) English - en
  2) German - de</p>
  
  <blockquote>
    <p>I have done all the procedures for localization, the only issue is
    whenever I change the language from "en" to "de" or vice versa then
    after the system text is not changing to the latest lang, but it
    reflects when I kill the app and reopen it.</p>
  </blockquote>
  
  <p>For Example:</p>
  
  <p><a href="https://i.stack.imgur.com/l21wz.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/l21wz.jpg" alt="enter image description here"></a></p>
  
  <blockquote>
    <p><strong>The popover Copy-LookUp-Share is not localsied to German Lang. but the other things from .string file are lcoalised properly.</strong></p>
  </blockquote>
  
  <p><em>My change lang code:</em></p>
  
  <pre><code>func setLanguage(languageCode:String) {
          var appleLanguages = UserDefaults.standard.object(forKey: "AppleLanguages") as! [String]
          appleLanguages.remove(at: 0)
          appleLanguages.insert(languageCode, at: 0)
          UserDefaults.standard.set(appleLanguages, forKey: "AppleLanguages")
          UserDefaults.standard.synchronize()
  
          if let languageDirectoryPath = Bundle.main.path(forResource: languageCode, ofType: "lproj")  {
              bundle = Bundle.init(path: languageDirectoryPath)
          } else {
              resetLocalization()
          }
          }
  
  
      func resetLocalization() {
          bundle = Bundle.main
      }
  </code></pre>
  
  <p>FYI: Similar thing happens in 'WeChat' iOS application.</p>