/AndroidLocalizePluginFix

:earth_asia: Android/IDEA localization plugin. supports multiple languages and multiple translators.

Primary LanguageJavaApache License 2.0Apache-2.0

English | 简体中文

image AndroidLocalizePlugin Fix

Plugin Version Plugin Rating

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

Fix Version As of March 25, 2022, Google Free Translation and Baidu API Translation have been fixed and are working properly, PR has been applied. Local installation Please download the releases version.

Local installation: File | Settings | Plugins , Options-Install Plugin from Disk... How to use: Select Res | String.xml file, right click, select the target language, it seems that you can only select the values directory, it is recommended that the original language use English, translate other languages more smoothly Settings: File | Settings | Tools | AndroidLocalize Select the translation channel.

Features

  • Multiple translator support:
    • Google translator.
    • Microsoft translator.
    • Baidu translator.
    • Youdao 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.

Preview

image image

Install

Install Plugin

Usage

  • Step 1: Select the values/strings.xml.
  • Step 2: Right click and select "Translate to Other Languages".
  • Step 3: Select the languages to be translated.
  • Step 4: Click OK.

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.

ChangeLog

ChangeLog

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.