Returns a localized version of a localization string.
- iOS 2.0+
- macOS 10.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The development language version of the string. This string is used as the search key to locate the localized version of the string.
The name of the strings file to search. The name should not include the
The bundle to examine.
The default value for the requested localization string.
A comment to provide the translators with contextual information necessary for proper translation.
The localized version of the requested string. If no value corresponding to
key is found, returns
NULL or an empty string, in which case
key is returned instead. Ownership follows the The Create Rule.
This is a macro variant of
CFBundle for use with the