Airsaid / AndroidLocalizePlugin

:earth_asia: Android localization plugin. supports multiple languages and multiple translators.
https://plugins.jetbrains.com/plugin/11174-androidlocalize
Apache License 2.0
583 stars 91 forks source link

翻译都是空白的, #40

Closed ChloeDimen closed 2 years ago

ChloeDimen commented 2 years ago

Please ensure you have given all the following requested information in your report.

Please select the affected platforms

Please select the translator to use

Version of Plugin and IDE

Issue details

1.版本是1.5的,翻译都是空白如下图: 1633943124(1) 2.Android Localize 没有翻译的渠道选择如下图 image 3.下载2.3.0的版本安装报如下错误 image

Airsaid commented 2 years ago

看来是 AndroidStudio 的版本太低导致安装不上最新的插件,插件目前最低支持的版本是 193。两种解决方案:

1、升级 AndroidStudio; 2、修改源码,自己打包一份支持你现有版本的插件。最低版本支持的代码在 plugin.xml 文件中的 <idea-version since-build="193"/> 处。

ChloeDimen commented 2 years ago

Android studio升级到最新版本 报以下问题 Translation error: com.airsaid.localization.translate.TranslationException: Failed to translate "AisemiMulti" text from Auto language to Chinese Traditional language: java.net.SocketTimeoutException: connect timed out

Airsaid commented 2 years ago

看起来是超时了,你可以自己申请个百度或其他的翻译账号,然后切换到对应的翻译器,填入自己账号的 key 来翻译。