|
Locale-Sensitive Python Method
Internationalization (I18n) Method OverviewThesetlocale function sets the locale for all categories to the user’s default setting (typically specified in the LANG environment variable). This function is not thread safe. If the locale is not changed thereafter, using multithreading should not cause problems.
Click here for more information. I18n Issues
Initially, when a program starts, the locale is the C locale, no matter what the user’s preferred locale is. There is one exception: the 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. |