def localize(value):
 return force_unicode(formats.localize(value, use_l10n=True))

def localize ( value ) : return force_unicode ( formats . localize ( value , use_l10n = True ) )
checks if value is a localizable type and returns it formatted as a string using current locale format .