Giter VIP home page Giter VIP logo

Comments (9)

Airsaid avatar Airsaid commented on May 23, 2024 1
  1. 翻译失败的问题,建议注册自己的翻译账号,然后填入自己申请的 key,这样会更稳定。
  2. 文件名的问题,由于存在太多的国家,所以没法保证每一个都是正确的,在后面的版本中我会根据你给的这个文档校验并完善一下。

from androidlocalizeplugin.

AtlantisFaded avatar AtlantisFaded commented on May 23, 2024

Translation error: com.airsaid.localization.translate.TranslationException: Failed to translate "Installed %s" text from Auto language to Arabic language: java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 405 Method Not Allowed"

from androidlocalizeplugin.

AtlantisFaded avatar AtlantisFaded commented on May 23, 2024

and the file name is wrong for android studio.
only two alphabet is OK.
https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
the above is google's doc.

from androidlocalizeplugin.

AtlantisFaded avatar AtlantisFaded commented on May 23, 2024

嗯嗯已经使用了百度api,之前翻译崩溃应该是用了google的,墙的网络问题。
目前最大的问题就是翻译后的string所属对应国家的名称不对。
https://blog.csdn.net/CoderYue/article/details/77503623
你使用的是另一套国家代号,而安卓用的则是2个字母组成的国家代号。

很棒很棒!!!!!

from androidlocalizeplugin.

AtlantisFaded avatar AtlantisFaded commented on May 23, 2024

纠正一下:我发现google的国家代号是对的,就是百度的不对。
问一下google翻译必须要配置key吗(api那个)?我这边死活用不了google,已经翻出去了。

from androidlocalizeplugin.

Airsaid avatar Airsaid commented on May 23, 2024

Google 翻译有两个,不需要申请 Key 的现在不是很稳定。推荐使用自己申请 Key 的,我记得新账号默认会有 50$ 的免费额度的。

from androidlocalizeplugin.

AtlantisFaded avatar AtlantisFaded commented on May 23, 2024

刚刚申请了key,300美元免费,已经用上了,哈哈哈,简直完美,哪里评分来着,一定要给你评5🌟。
准备给我的app进行国际化文案了哈哈哈哈哈做梦都要笑了。
api那个不好使
建议给用百度的提个醒,string对应的国家代码不对。google的倒是完全对的。

from androidlocalizeplugin.

Airsaid avatar Airsaid commented on May 23, 2024

啊哈,插件主页可以评分哦:https://plugins.jetbrains.com/plugin/11174-androidlocalize

关于文件名问题待我在后面的版本完善一下,到时会在该 issue 上更新。

from androidlocalizeplugin.

qyzhaojinxi avatar qyzhaojinxi commented on May 23, 2024

@AtlantisFaded 你是绑定了信用卡了么?我看谷歌api的key申请现在得绑定信用卡才能继续

from androidlocalizeplugin.

Related Issues (20)

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.