def t(eng, chinese):
    "return English or Chinese text according to the user's browser language"
    return (chinese if ('zh' in get_info().user_language) else eng)
return English or Chinese text according to the user's browser language
def t(eng, chinese):
    
    return (chinese if ('zh' in get_info().user_language) else eng)