JantHsueh / AndroidLocalizationer

This is a Android Studio/ IntelliJ IDEA plugin to localize your Android app, translate your string resources automactically.
http://lifeofcoding.com/AndroidLocalizationer/
31 stars 9 forks source link

Android Localizationer

This is a Android Studio/ IntelliJ IDEA plugin to localize your Android app, translate your string resources automactically.

Translate all your strings in your string resources(e.g. strings.xml) to your target languages automactically. Help developers localize their Android app easily, with just one click.

Usage

Right click the strings resource file, choose 'Convert to other languages'.
img
Then check the target languages.
img
After clicking OK, the string resources will be translated and created in the correct value folder.

Feature

  1. Filter the strings you don't wanna translate by adding NAL_ prefix to the string key, case sensitive. Change:
    <string name="flurry_id">FLURRY_ID</string>
    to
    <string name="NAL_flurry_id">FLURRY_ID</string>

  2. Filter the strings you don't wanna translate by adding filter rule in plugin settings interface

  3. With google translate, do not need to add a secret key

  4. input from excel and output to excel

    • select outputExcel checkbox,Export the selected language to excel.path is project res/values-xx.xls.
    • select inputExcel checkbox,Input the selected language from excel.path is must project res/values-xx.xls.
    • if select outputExcel or inputExcel, will not translate.
  5. Set client id or client secret for Microsoft Translator, in case of running out of quota.

    img

More features are coming, please check Todo.

Warning

Downloads

You can download the plugin here.

To Install the plugin, please check IntelliJ IDEA Web Help.

ChangeLog

Version 0.1.8

Version 0.1.7

Version 0.1.6

Version 0.1.5

Version 0.1.4

Version 0.1.3

Version 0.1.2

Version 0.1.1

Version 0.1.0

Version 0.0.3

Version 0.0.2

Version 0.0.1

Todo

License

Copyright 2014-2016 Wesley Lin

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.