Internationalization and localization tools


Locale-Sensitive Objective-C Method

Foundation NSNumber

NSNumber stringValue

Internationalization (I18n) Method Overview

This method converts number to string without using locale.

Click here for additional Apple Developer Documentation details.

I18n Issues

The return value is created by invoking descriptionWithLocale: where locale is nil. Must explicitly pass locale or use a formatter than honors the currentLocale or NSString localizedStringFromNumber.

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