> ## Documentation Index
> Fetch the complete documentation index at: https://docs.median.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Permission prompt localization

> Localize the text of iOS permission prompts in Xcode with InfoPlist.strings, and learn how Android handles permission prompt languages.

Median offers multilingual support for your web content. This section is specifically targeted to localize permission prompts which are native app components.

## Android

Permission prompts for Android are served by the system and as of writing, Android does not allow custom messages for their system permissions. The permission prompt will always be displayed in the locale of the user's device.

## iOS

Localization of permission prompts is not available in App Studio today, but the prompt to request permissions can be localized by adjusting the iOS source code and building the iOS app from the source.

Follow [Build iOS from source](https://docs.median.co/docs/build-ios-from-source.md) to obtain the source code of your app and open it in Xcode.

## InfoPlist.strings

Add your supported languages by selecting the checkboxes in the InfoPlist.strings file.

Once you select a supported language Xcode will create InfoPlist files for all languages selected.

![Localization languages selected for InfoPlist.strings in Xcode](https://mintcdn.com/median-co/7LCOHMhgIef7ewYE/images/docs/540a595-image.png?fit=max\&auto=format\&n=7LCOHMhgIef7ewYE\&q=85\&s=a5a58ab6881a1c363dedc684df4830a4)

InfoPlist.strings

### Locate the key you want to customize

Permission prompt texts are stored in the MedianIOS-Info.plist file. To customize the text you will need the raw key of the prompt to customize.

In the example below, you will find that the raw key for 'Privacy - Contacts Usage Description' is 'NSContactsUsageDescription'.

![Privacy - Contacts Usage Description key shown as NSContactsUsageDescription in MedianIOS-Info.plist](https://mintcdn.com/median-co/7LCOHMhgIef7ewYE/images/docs/8e9dbda-image.png?fit=max\&auto=format\&n=7LCOHMhgIef7ewYE\&q=85\&s=f9eaf912bf986e5b1c59fda1e3ff272a)

MedianIOS-Info.plist

### Customize the prompt

Using the raw key 'NSContactsUsageDescription' you can now set a custom permission description, which is shown for devices using the German language.

![Custom NSContactsUsageDescription text in the German InfoPlist.strings file](https://mintcdn.com/median-co/dZQPJ_0wlG7WNBTy/images/docs/3ea8b45-image.png?fit=max\&auto=format\&n=dZQPJ_0wlG7WNBTy\&q=85\&s=c774e9832411ef64fc854425e597464e)

German permission prompt

## Frequently asked questions

> [accordion] How can I test my translations on the iOS simulator?
>
> In order to test your localization you will need to set a language in the iOS simulator using Settings > General > Language. You may need to reset your simulator to revoke previously granted permissions for the app.


## Related topics

- [Permissions overview](https://docs.median.co/docs/permissions-overview.md)
- [WebRTC audio & video](https://docs.median.co/docs/web-rtc.md)
- [Managing permissions and consent](https://docs.median.co/docs/user-consent-management.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.