在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):lukin0110/poeditor-gradle开源软件地址(OpenSource Url):https://github.com/lukin0110/poeditor-gradle开源编程语言(OpenSource Language):Groovy 99.6%开源软件介绍(OpenSource Introduction):poeditor-gradleGradle plugin to manage translations easily within a POEditor project. The plugin enables you to include downloading and uploading of translations in your Gradle build file. This gradle plugin depends on poeditor-java, a java client for the POEditor API.
Add the following 2 lines of code to your In the classpath 'be.lukin.poeditor:gradle:0.3.3' Include the plugin: apply plugin: 'poeditor' The plugin requires at minimum Java 7 and Gradle 2.x.
Add configuration about your POEditor project to the Example configuration: poeditor {
apikey 'your api key here'
projectId 'your project id here'
type 'android_strings'
tagsNew '1.0'
terms 'App/src/main/res/values/strings.xml'
trans 'en', 'App/src/main/res/values/strings.xml'
trans 'nl', 'App/src/main/res/values-nl/strings.xml'
trans 'fr', 'App/src/main/res/values-fr/strings.xml'
filters 'nl', 'translated'
filters 'fr', 'translated, automatic'
}
Now you're all set to manage your translations.
After your have created your translation project on POEditor you can can initialize your project based on your c onfiguration. Initialize
This will create terms and add languages to your project. Download translations
Upload translations
Example:
Add terms
A few example configurations can be found in the example projects folder. License
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论