Coder Social home page Coder Social logo

raymanmartin / androidlocalizeplugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from airsaid/androidlocalizeplugin

0.0 0.0 0.0 21.45 MB

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

Home Page: https://plugins.jetbrains.com/plugin/11174-androidlocalize

License: Apache License 2.0

Java 97.89% Kotlin 2.11%

androidlocalizeplugin's Introduction

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.

androidlocalizeplugin's People

Contributors

airsaid avatar dependabot[bot] avatar rbenza avatar actions-user avatar herberlin avatar musagil avatar frogggias avatar github-actions[bot] 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.