11# AndroidLocalizePlugin
2- :earth_asia : Android/IDEA localization plugin. support multiple languages, no need to apply for key. ([ 中文文档] ( https://github.com/Airsaid/AndroidLocalizePlugin/blob/master/README_CN.md ) )
2+ [ ![ Plugin Version] ( https://img.shields.io/jetbrains/plugin/v/11174 )] ( https://plugins.jetbrains.com/plugin/11174-androidlocalize )
3+ [ ![ Plugin Rating] ( https://img.shields.io/jetbrains/plugin/r/rating/11174 )] ( https://plugins.jetbrains.com/plugin/11174-androidlocalize )
34
4- # Feature
5- - Support 104 languages.
6- - No need to apply for key.
5+ :earth_asia : Android/IDEA localization plugin. supports multiple languages and multiple translators. ([ 中文文档] ( https://github.com/Airsaid/AndroidLocalizePlugin/blob/master/README_CN.md ) )
6+
7+ # Features
8+ - Multiple translator support:
9+ - Google translator.
10+ - Baidu translator.
11+ - Youdao translator.
12+ - Supports up to 100+ languages.
713- One key generates all translation files.
814- Support no translation of existing string.
915- Support for specifying that text is not translated.
16+ - Support for caching translated strings.
1017
1118# Preview
1219![ image] ( https://github.com/Airsaid/AndroidLocalizePlugin/blob/master/preview/preview.gif )
20+ ![ image] ( https://github.com/Airsaid/AndroidLocalizePlugin/blob/master/preview/settings.png )
1321
1422# Install
15- ## Online installation
16- - Step 1: Open AndroidStudio or IDEA.
17- - Step 2: Preferences -> Plugins -> Browse repositories...
18- - Step 3: Search AndroidLocalize and install. Then restart IDE.
19-
20- ## Local installation
21- - Step 1: Download AndroidLocalizePlugin.zip file.
22- - Step 2: Open AndroidStudio or IDEA.
23- - Step 3: Preferences -> Plugins -> Install plugin from disk...
24- - Step 4: Select AndroidLocalizePlugin.zip and Restart IDE.
23+ [ ![ Install Plugin] ( https://github.com/Airsaid/AndroidLocalizePlugin/blob/master/preview/install.png )] ( https://plugins.jetbrains.com/plugin/11174-androidlocalize )
2524
2625# Usage
2726- Step 1: Select the values/strings.xml.
28- - Step 2: Right- click and select Convert to other languages .
29- - Step 3: Select the language to be translated.
30- - Step 4: Click ok .
27+ - Step 2: Right click and select "Translate to Other Languages" .
28+ - Step 3: Select the languages to be translated.
29+ - Step 4: Click OK .
3130
3231# FAQ
33- - Q1: Empty characters after translation?
34-
35- A: You need to set an proxy or replace an proxy address or wait a while before trying. set proxy:
36-
37- ![ image] ( https://github.com/Airsaid/AndroidLocalizePlugin/blob/master/preview/setproxy.png )
32+ - Q: How to ignore translation?
3833
39- - Q2: How to ignore translation?
40-
41- A: Use the translatable or xliff: g tags. for example:
34+ A: Use the [ translatable or xliff: g ] ( https://developer.android.com/guide/topics/resources/localization#managing-strings ) tags. for example:
4235 ```
43- <string name="name" translatable="false">AndroidLocalizePlugin</string>
44- <string name="detail">detail<xliff:g>: %1$s</xliff:g></string>
36+ <string name="app_name" translatable="false">HelloAndroid</string>
37+ <string name="star_rating">Check out our 5<xliff:g id="star">\u2605</xliff:g></string>
38+ <string name="app_home_url">Visit us at <xliff:g id="application_homepage">https://github.com/Airsaid/AndroidLocalizePlugin</xliff:g></string>
39+ <string name="prod_name">Learn more at <xliff:g id="game_group">Muggle Game Studio</xliff:g></string>
4540 ```
41+ **Note: Display one line without extra line breaks and spaces in between.**
4642
47- # Thanks
48- - MTrans:[ https://github.com/hujingshuang/MTrans](https://github.com/hujingshuang/MTrans )
43+ # ChangeLog
44+ [Change Log List]( https://github.com/Airsaid/AndroidLocalizePlugin/blob/master/CHANGELOG.md )
4945
5046# ContactMe
5147- Telegram: [https://t.me/airsaids/](https://t.me/airsaids/)
5248
5349# Invite me for coffee :coffee:
5450If this project has helped you, you can [invite me for coffee](https://25e37ece.wiz03.com/wapp/pages/view/share/s/0BUTXe15Q4mk28KWtW0l7BLh1Y6ijp02l4Ct2gxqhW0OmYvl).
5551
56-
5752# License
5853```
5954Copyright 2018 Airsaid. https://github.com/airsaid
@@ -69,4 +64,4 @@ distributed under the License is distributed on an "AS IS" BASIS,
6964WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7065See the License for the specific language governing permissions and
7166limitations under the License.
72- ```
67+ ```
0 commit comments