|
Locale-Sensitive Python MethodInternationalization (I18n) Method OverviewThestrxfrm function transforms a string to one that can be used in locale-aware comparisons. For example, strxfrm(s1) < strxfrm(s2) is equivalent to strcoll(s1, s2) < 0 .
Click here for more information. I18n IssuesAs long as the locale has been set correctly (see setLocale), this is the correct way to get a string that can be used in locale-aware comparison using operators. 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. |