• Stars
    star
    507
  • Rank 87,068 (Top 2 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created over 6 years ago
  • Updated over 1 year ago

Reviews

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

Repository Details

🌏 Android localization plugin. supports multiple languages and multiple translators.

English | 简体中文

image AndroidLocalizePlugin

Plugin Version Plugin Rating Build

Website | GitHub | Issues | Reviews

Android localization plugin. supports multiple languages and multiple translators.

Features

  • Multiple translator support:
    • Google translator.
    • Microsoft translator.
    • Baidu translator.
    • Youdao translator.
    • Ali translator.
    • DeepL translator.
    • OpenAI ChatGPT translator.
  • Supports up to 100+ languages.
  • One key generates all translation files.
  • Support no translation of existing string.
  • Support for specifying that text is not translated.
  • Support for caching translated strings.
  • Support to set the translation interval time.

Usage

  • Step 1: Select the values/strings.xml(or any string resource in values directory).
  • Step 2: Right click and select "Translate to Other Languages".
  • Step 3: Select the languages to be translated.
  • Step 4: Click OK.

Preview

image image

Install

Install Plugin

FAQ

  • Q: How to ignore translation?

    A: Use the translatable or xliff:g tags. for example:

    <string name="app_name" translatable="false">HelloAndroid</string>
    <string name="star_rating">Check out our 5<xliff:g id="star">\u2605</xliff:g></string>
    <string name="app_home_url">Visit us at <xliff:g id="application_homepage">https://github.com/Airsaid/AndroidLocalizePlugin</xliff:g></string>
    <string name="prod_name">Learn more at <xliff:g id="game_group">Muggle Game Studio</xliff:g></string>
    

    Note: Display one line without extra line breaks and spaces in between.

  • Q: Translation failure: java.net.HttpRetryException: cannot retry due to redirection, in streaming mode

    A: If you are using the default translation engine (Google), then you can try switching to another engine on the settings page and use your own account for translation. Because the default translation engine is not stable.

ChangeLog

ChangeLog

Support and Donations

You can contribute and support this project by doing any of the following:

  • Star the project on GitHub.

  • Give feedback.

  • Commit PR.

  • Contribute your ideas/suggestions.

  • Share the plugin with your friends/colleagues.

  • If you like the plugin, please consider making a donation to keep the plugin active:

    Open Collective WeChat Pay Alipay
    Donate To Our Collective WeChat Play Alipay

Thank you for your support!

Sponsors

Development powered by JetBrains

License

Copyright 2018 Airsaid. https://github.com/airsaid

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

More Repositories

1

AccountBook

[停止维护] 一个数据存储使用的 Leancloud、架构采用 MVP 的记账本 APP。
Java
392
star
2

CalendarView

Android 平台上继承 View 实现的自定义日历控件
Java
134
star
3

DiffuseView

This is a circle on the proliferation of Android custom view.
Java
117
star
4

Android-PickerView-Library

Simple PickerView for Android - code from https://github.com/saiwu-bigkoo/Android-PickerView
Java
112
star
5

MPermissionUtils

Android6.0 运行时权限处理工具类
Java
85
star
6

InputCodeLayout

这是一个 Android 上输入验证码的自定义布局
Java
83
star
7

sample-gradle-plugin

🚀 A powerful Gradle Plugin to help you demonstrate your android app.
Java
19
star
8

StateLayout

🌀 A customize multiple state layout for Android.
Kotlin
12
star
9

ChordView

🎸 Android custom view for rendering guitar chord.
Java
11
star
10

VerifyCodeButton

This is a custom button on Android View, used to obtain a verification code.
Java
11
star
11

OKMock

🎈 A Gradle Plugin used to quickly fill field data on Android.
Java
9
star
12

ZProgressBar

一个可动态配置颜色、弧度,带动画的自定义 ProgressBar
Java
8
star
13

TimeLineLayout

This is a simple timeline layout that applies to less data. (这是一个简单的时间轴布局,适用于数据量少的情况)
Java
8
star
14

ImageComparator

🌅 Image comparator on android.
Kotlin
7
star
15

InspireWritingPlugin

🔧 An IntelliJ IDEA plugin is used to inspire you to write code.
Kotlin
6
star
16

android-plugin-template

An android gradle plugin template.
Kotlin
5
star
17

RatingBar

RatingBar on Unity.
C#
3
star
18

CodeStatistics

📈 Code statistic build with tornadofx. supports export excel or csv.
Kotlin
2
star
19

IncrementLint

🔍 A Gradle Plugin that supports Lint increment scanning.
Kotlin
2
star