Internationalization and localization tools


Locale-Sensitive Python Method

locale.currency(val, symbol=True, grouping=False, international=False)

Internationalization (I18n) Method Overview

The currency function formats the value into a string with currency symbol based on the current locale's LC_MONETARY settings.

Click here for more information.

I18n Issues

Note that this function will not work with the ā€˜Cā€™ locale, so you have to set a locale via setlocale() first.

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