def METHOD_NAME(markdown_file):
    filepath, filename = os.path.split(markdown_file)
    new_filepath = filepath.replace('/DaoCloud-docs/docs/zh/', '/DaoCloud-docs/docs/en/')
    if not os.path.exists(new_filepath):
        os.makedirs(new_filepath)
    new_md_file = os.path.join(new_filepath, filename)
    # 读取 markdown 文件
    with open(markdown_file, 'r') as f:
        text = f.read()
    # 获取翻译后文本
    tran_text = translator.translate(text, dest='en').text
    # 写入翻译后的 markdown 文件
    with open(new_md_file, 'w') as f:
        f.write(tran_text)