Internationalization and localization tools


Locale-Sensitive Objective-C Method

Foundation NSDate

NSDate description

Internationalization (I18n) Method Overview

This method performs date/string conversion without using locale.

Click here for additional Apple Developer Documentation details.

I18n Issues

This method does not use locale.

Resolution: Consider if yyyy-mm-dd format used in locale-insensitive methods is ok (it's fairly universal, but need to adjust any locale-sensitive methods to use it also). Alternatively, explicitly set locale or format - pass locale or use a formatter than honors the currentLocale.

Generally one needs to pass in locale, encoding or language to ensure that any culture-dependent conversion is done properly. If you determine that the call is i18n-safe, you can use Globalyzer's Ignore Comment functionality to ensure that it isn't picked up in a subsequent scan.

For information about Objective-C Internationalization, click here.

 

Lingoport internationalization and localization services and software