Internationalization and localization tools


Locale-Sensitive Python Method

repr(object)

Internationalization (I18n) Method Overview

The repr function creates a readable string of the string or object, replacing non-ascii characters with escape characters.

Click here for Python 2 information.

Click here for Python 3 information.

I18n Issues

Python 3: The repr function returns Unicode should not have any i18n issues in Python 3.

Python 2: The repr function returns Ascii and will not work with Unicode 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