New Localization Workflows in Xcode 10
New Localization Workflows in Xcode 10
New Localization Workflows in Xcode 10
Xcode Localization Catalog
- New type of localization artifact with .xcloc extension
- You can localize Non-strings localizable assets (HTML, image, etc) 👍
- Provide additional contextual information
- Development region
- Target locale
- Tool Info
- Version
- XLIFF 1.2 document containing the project localized strings
- Non-strings localizable assets
- Organized into the same file system hierarchy as Xcode project
- Override resources
Source Contents
- Assets used to produce the Localized Contents
- Organized into the same file system hierarchy as Xcode project
- Provided for context
Notes
- Provide additional information to the localizers
- Screenshots
- Readme file
Continuous Integration-export
- Used to define custom intents for shortcuts
- .intentdefinition extension
- Base localized
- Localized using .strings files and .stringsdict files
- Localization happens when the string is presented to the user
- Used when preparing the intent for donation
- Xcode combines Shortcut types and enums when generating .strings file
- .strings and/or .stringsdict are used to localize Shortcuts
- Use deferredLocalizedIntentsString API for donated intents
- Strings defined in .stringsdict file are preferred at runtime
- Use strings or strings IDs as Localized String Key