(string)
return translation.split('|', 1)[-1]
gettext for unicode objects
gettext for unicode objects
gettext for unicode objects
def ugettext(string):
    '''gettext for unicode objects
    '''
    translation = gettext.gettext(string.encode('UTF-8')).decode('UTF-8')

    return translation.split('|', 1)[-1]
def ugettext ( string ) : translation = gettext . gettext ( string . encode ( 'UTF-8' ) ) . decode ( 'UTF-8' ) return translation . split ( '|' , 1 ) [ - 1 ]