title: Localizing iOS Location Permission Prompt
body: <p>I have a localized app that needs to request user permission to access the device's location.  Since iOS 8, this requires a message (defined in <code>Info.plist</code>) stating <em>why</em> the app needs the user's location.  I have localized this message successfully, <a href="https://stackoverflow.com/a/25736915/119114">using this technique</a>.  I have an InfoPlist.strings file with a foreign-language entry for the key <code>NSLocationWhenInUseUsageDescription</code>:  </p>
  
  <pre><code>"NSLocationWhenInUseUsageDescription" = "Este aplicativo pode utilizar a sua localização para servir anúncios que são mais relevantes. Sua identidade não é transmitida com a localização.";
  </code></pre>
  
  <p>This properly localizes the message explaining why the app needs user location.  But, when iOS shows the alert view containing this message, the <strong>title</strong> of the alert, and the <strong>buttons</strong> are not localized:</p>
  
  <p><img src="https://i.stack.imgur.com/aToSW.png" alt="enter image description here"></p>
  
  <p>How do I localize the alert's title and button text, too?</p>
  
  <p>I understand how to do all this for a <code>UIAlertView</code> that I show manually, but this alert is shown by the system (iOS).</p>