-
Notifications
You must be signed in to change notification settings - Fork 4
Quick Start
Wyndam edited this page Jun 17, 2018
·
6 revisions
- First download release zip file here LATEST RELEASE.
- Install JRE or JDK to run this tools. You can download here JDK DOWNLOAD.
- Config
translate_config.ini
file in the RELEASE zip file root path.-
translatePlatform
choose the translate platform, official supportgoogle
,baidu
andyoudao
. - Translate platform may need you register developer account to access translate api,
this
appId
,appKey
andapiUrl
three param you can get it form translate platform api doc.others
is a list of param, now it doesn't use, it will pass to your plugin, if you need some params in config you can set it here. -
baidu need
appId
,appKey
andapiUrl
, you should replace it with your own key. -
google just need
appKey
andapiUrl
. - youdao just like baidu.
-
apiUrl
this param may not change, it just support you a way to change if need. -
textType
set the source typed text type, official support android and ios strings doc. -
sourceLanguage
source language,destinationLanguage
destination language, the value you can find insupport_language.txt
. -
sourceFilePath
translate file path, plugin will scan the path to translate. it should in your tools root path, it is a RELATIVE path.
-
- Copy the file you want to translate in the tools path.
- run the script
run.bat
orrun.sh
, it depends on your system.