title: error.localizedDescription always returns English
body: <p>In Swift/XCode I always get the English error messages as an output and not the translated local message of my device (Simulator or real device doesn't matter).
  I added the localization countries in the info tap of my project, but do I have to do something else, like translating an English error file manually to e.g. German?</p>
  
  <p>I know there are similar old questions on SO, and their answers all sound very simple but don't work.</p>
  
  <p>Example code:</p>
  
  <p><strong>ContentView.swift</strong></p>
  
  <pre><code>@State var errorText: String = ""
  
  var body: some View {
      VStack {
         ...
         logIn()
         Text(errorText)
      }
  }
  </code></pre>
  
  <p>.....</p>
  
  <pre><code>    func logIn() {
  
          session.logIn(email: email, password: password) { (user, error) in
  
              if let error = error
                  {
                  self.errorText = error.localizedDescription
                      self.shouldAnimate = false
  
                  return
                  }
          ....
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/1QHLW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1QHLW.png" alt="XCode Info-Frame"></a></p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I wasn't sure what I should enter here when adding German as a language. I use SwiftUI and not Storyboard if this fact matters:</p>
  
  <p><a href="https://i.stack.imgur.com/gBjQA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gBjQA.png" alt="Adding a language"></a></p>
  
  <p>What does work for example is the translation of the Edit Button in the Status Bar. But the error messages at the same time are always English.</p>
  
  <pre><code>.navigationBarItems(trailing: EditButton())
  </code></pre>