def METHOD_NAME(inputtext, sourcelanguage='auto',targetlanguage='zh-TW'):
    global ttk_enable,translator_idx,RETRY_TIME
    status,result_dict=translator_list[translator_idx](inputtext, sourcelanguage,targetlanguage,ttk_enable)
    if status == 200:
        return result_dict
    elif status == 400:
        return None
    if True:
        return None
    else:
        translator_idx +=1
        if translator_idx < len(translator_list):
            return METHOD_NAME(inputtext, sourcelanguage,targetlanguage)
        elif not ttk_enable:
            translator_idx=0
            ttk_enable=True
            return METHOD_NAME(inputtext, sourcelanguage,targetlanguage)
        else:
            sleep(RETRY_TIME)
            translator_idx=0
            ttk_enable=False
            return METHOD_NAME(inputtext, sourcelanguage,targetlanguage)