打开idea的设置 File->Settings
点击左侧Plugins
直接搜索Translation插件安装即可 安装后重启就可以了
使用
选中需要翻译的内容 点击Translate即可翻译
或者我们使用快捷键 ctrl+shift+y翻译