Skip to content

Commit 43791f1

Browse files
committed
Update readme file
1 parent 4729576 commit 43791f1

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,22 @@
2929
- Step 3: Select the language to be translated.
3030
- Step 4: Click ok.
3131

32+
# FAQ
33+
- Q1, Empty characters after translation?
34+
A: You need to set an proxy or replace an proxy address or wait a while before trying. set proxy:
35+
![image](https://github.com/Airsaid/AndroidLocalizePlugin/blob/master/preview/setproxy.gif)
36+
37+
- Q2, How to ignore translation?
38+
A: Use the translatable or xliff:g tags. for example:
39+
```
40+
<string name="name" translatable="false">AndroidLocalizePlugin</string>
41+
<string name="detail">detail<xliff:g>: %1$s</xliff:g></string>
42+
```
43+
3244
# Thanks
3345
- MTrans:[https://github.com/hujingshuang/MTrans](https://github.com/hujingshuang/MTrans)
3446
3547
# ContactMe
36-
- Blog: [https://airsaid.com/](https://airsaid.com/)
3748
- Telegram: [https://t.me/airsaids/](https://t.me/airsaids/)
3849
3950
# License

README_CN.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,22 @@
2929
- 第三步:勾选上需要翻译的语言。
3030
- 第四步:点击 OK。
3131

32+
# 常见问题
33+
- 问题一:翻译后得到的是空的文本?
34+
回答:你需要设置代理或替换代理地址,或者等待一段时间后再次尝试。代理设置:
35+
![image](https://github.com/Airsaid/AndroidLocalizePlugin/blob/master/preview/setproxy.gif)
36+
37+
- 问题二:如何忽略不让其翻译?
38+
回答: 可以使用 translatable 或者 xliff:g 标签。示例:
39+
```
40+
<string name="name" translatable="false">AndroidLocalizePlugin</string>
41+
<string name="detail">detail<xliff:g>: %1$s</xliff:g></string>
42+
```
43+
3244
# 感谢
3345
- MTrans:[https://github.com/hujingshuang/MTrans](https://github.com/hujingshuang/MTrans)
3446
3547
# 联系我
36-
- Blog: [https://airsaid.com/](https://airsaid.com/)
3748
- Telegram: [https://t.me/airsaids/](https://t.me/airsaids/)
3849
3950
# 许可证

preview/setproxy.png

188 KB
Loading

0 commit comments

Comments
 (0)