how to localize app intents
Generated on 8/6/2024
1 search
To localize app intents, you need to ensure that the titles and summaries of your intents are localizable. This involves defining a localizable title for each intent, which will appear as the name of the action in the Shortcuts app. Additionally, you should ensure that the parameter summaries are readable and understandable in all supported languages.
Here are the steps to localize app intents:
- Define Localizable Titles: Each intent should have a localizable title. This title will be displayed as the name of the action in the Shortcuts app.
- Parameter Summaries: Make sure the parameter summaries are always readable as a sentence, regardless of the selected parameters. This helps users understand what the app intent does when exploring in the Shortcuts drawer.
- Use the App Intents Framework: The framework allows you to define what your core actions and content are, so system features like Siri and Shortcuts can present them outside your app in a localized manner.
For more detailed guidance, you can refer to the session Design App Intents for system experiences (03:38).
Relevant Sessions
Bring your app’s core features to users with App Intents
Learn the principles of the App Intents framework, like intents, entities, and queries, and how you can harness them to expose your app’s most important functionality right where people need it most. Find out how to build deep integration between your app and the many system features built on top of App Intents, including Siri, controls and widgets, Apple Pencil, Shortcuts, the Action button, and more. Get tips on how to build your App Intents integrations efficiently to create the best experiences in every surface while still sharing code and core functionality.
Design App Intents for system experiences
App Intents power system experiences in controls, Spotlight, Siri, and more. Find out how to identify the functionality that’s best for App Intents, and how to use parameters to make these intents flexible. Learn how to use App Intents to allow people to take action outside your app, and see examples of when to navigate into your app to show contextual information.