• Stars
    star
    249
  • Rank 162,366 (Top 4 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 8 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Xcode代码单词快速翻译

ESTranslate-Xcode

  • 快速翻译Xcode代码里面的单词。

图例

Screenshot

安装方式

  • 下载-Xcode打开-Command+B-重启Xcode

使用方式

  • 选中需要翻译的单词/句子,按 control+shift+t

设置百度翻译AppId(没图😁自行脑补)

百度每月免费翻译200万个字符,如果大家都使用的话会超过上限,建议设置自己的AppId,自己使用就不用担心这个问题啦~

  • 进入到百度翻译开发者平台:http://api.fanyi.baidu.com/api/trans/product/index
  • 点击【申请接入】(自已登录)
  • 填写相关基本信息并提交
  • 再点击管理中心,左下方有appid以及密钥
  • 点击Xcode顶部的Edit菜单->ESTranslate->Setup Baidu AppId

TODO

  • 单个单词的显示优化