Internationalization and localization tools


Locale-Sensitive Python Method

locale.getdefaultlocale([envvars])

Internationalization (I18n) Method Overview

The getdefaultlocale tries to determine the default locale settings and returns them as a tuple of the form (language code, encoding).

Click here for more information.

I18n Issues

Locale defaults to 'C' and not to the user's locale so you need to be sure to call setlocale(LC_ALL,'').

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