Internationalization and localization tools


Locale-Sensitive Python Method

locale.strcoll(string1, string2)

Internationalization (I18n) Method Overview

The strcoll function compares two strings according to current locale's LC_COLLATE setting.

Click here for more information.

I18n Issues

As long as the locale has been set correctly (see setLocale), this is the correct locale sensitive way to compare two strings.

Globalyzer will detect this method and report it as an I18n issue. If you have determined that the call is being handled correctly, you can use Globalyzer's Ignore Comment functionality to ensure that it isn't picked up in a subsequent scan.

Locale-Sensitive Python Methods

Lingoport internationalization and localization services and software