Missing localization
Reports usages of localized strings not added to the strings files.
By default, the inspection is triggered if a localization key is not defined in any of the available strings files. Use the checkbox below to be warned only if the key is not defined in all languages.
Suggests adding missing key-value pairs to the strings files.
Example:
let presentation = "Do It"
After the quick-fix is applied:
let presentation = NSLocalizedString("Do It", comment: ""))
Inspection options
Option | Type | Default |
---|---|---|
Report only localizations missing in all languages | Checkbox | false |
Inspection Details | |
---|---|
Available in: | AppCode 2023.3 |
Plugin: | Swift Language Support, 233.SNAPSHOT |
Last modified: 13 July 2023