Localize HealthKit authorization prompt

How do you localize the app explanations in a HealthKit prompt that the system displays to ask the user for read and write permissions?

Replies

You should have added key NSHealthShareUsageDescription and NSHealthUpdateUsageDescription to your Info.plist (also visible as "Privacy - Health Share Usage Description" and "Privacy - Health Update Usage Description".


When adding new language to your project, the file InfoPlist.strings should have NSHealthShareUsageDescription and NSHealthUpdateUsageDescription strings to translate.