GithubHelp home page GithubHelp logo

qian-jiahong / baidutranslationinternationalization Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 13671447200/baidutranslationinternationalization

0.0 2.0 0.0 385 KB

一款AndroidStudio插件,使用该插件,可以快速生成28种语言的string.xml文件

Java 100.00%

baidutranslationinternationalization's Introduction

BaiduTranslationInternationalization

一款AndroidStudio插件,使用该插件,可以快速生成28种语言的string.xml文件

最近做一款打印机App,因为主要是销向国外,所以需要国际化。 作为一款偷懒的程序员,叫我一个一个去网站翻译,那是不可能的,如果程序员没有一颗偷懒的心,那还叫程序员么?

在网上百度,找到一款插件,叫做AndroidLocalizationer。但是这款插件早在两年前就已经停止维护,下载下来安装进去,也没有办法进行使用了。

继续百度,又找到了一款,是后来有人在AndroidLocalizationer的基础上更改的。主要是关于翻译方式的更改。结果还是没有办法使用,阅读源码,发现作者是采用谷歌翻译Api就是翻译的。debug,发现作者的key已经过期了。

上面两款插件,在我们**,需要翻墙。不仅仅需要翻墙,还只能是英文翻译成其他语言。也就是说,如果你是中文的软件,想要国际化,还是需要一个一个翻译成英文。这是不能忍的,因为需要App很多所谓的国际化,其实就是多增加了一个英文版本。我TM要你何用?

于是我决定把翻译接口改了。注册了百度翻译的一个账号,把接口更换过来,第一是不用翻墙了。第二支持中文翻译成其他语言了。

需要说明的一点:我只是往百度翻译冲了50块钱,所以用完即完了,纯粹当做一次探索,下次我要再次使用的时候,就继续冲得了。所以,如果你从现在(2017/12/08)之后不久去使用,应该是可行的。但是如果时间隔了太久,百度翻译钱用完了,也就没办法使用的。

https://github.com/westlinkin/AndroidLocalizationer

baidutranslationinternationalization's People

Contributors

13671447200 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.