Git Product home page Git Product logo

bytebeats / polyglot Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 3.0 13.67 MB

一个 Intellij 插件项目, 当工程需要支持多语言时, 本插件能够帮助你省去在浏览器或者翻译软件与你的项目之间来回切换的麻烦. 插件是第一生产力啊! Polyglot: to translate different languages with different translators! An Intellij platform plugin project.If your project is relevant to many languages in which translation is needed, this plugin will help you a lot. A good plugin is No.1 productive force.

Java 16.51% Kotlin 83.49%
polyglot translation baidu-translate google-translate bing-translate tencent-translator youdao-fanyi omi-translate sogou-translate

polyglot's Introduction

Polyglot: to translate different languages with different translators!

GitHub latest commit GitHub contributors GitHub issues Open Source? Yes! JetBrains Plugins JetBrains Plugins GitHub forks GitHub stars GitHub watchers

An Intellij platform plugin project.

If your project is relevant to many languages in which translation is needed, this plugin will help you a lot.

A good plugin is No.1 productive force!

一个 Intellij 插件项目, 当工程需要支持多语言时, 本插件能够帮助你省去在浏览器或者翻译软件与你的项目之间来回切换的麻烦.

插件是第一生产力啊!

Installation

  • Download plugins/polyglot-x.x.x.jar and install into your IDE
  • clone this project, Build | Build project, then you will see build/libs/polyglot-x.x.x.jar
  • Intellij IDEA -> Preferences -> Plugins -> Settings -> Install from Disk, select and load polyglot-x.x.x.jar or search polyglot from MarketPlace, then click and install polyglot

Features

  • 支持常规的语言翻译, 诸如中文, 中文繁体, 英/法/德/俄语等
  • 支持非常规的语言翻译, 诸如粤语, 文言文, 伊朗语, 越南语等
  • 支持已经死亡的或者虚构的语言翻译, 诸如古英语, 中古法语, 梵语, 阿拉贡语, 希伯语等
  • 支持 每日一句 功能
  • 支持 取词划义 功能

Visual Effects

polyglot

To-Dos

  • 支持谷歌取词划义功能
  • 支持百度取词划义功能
  • 添加 Android 多语言字符串支持

Support


Open-source is no easy job, for which I have to sacrifice my weekends and other non-working hours.
开源不易, 尤其是对于全职的开源爱好者. 需要占用不少下班以及周末时间.
If you think this plugin is meaningful, is worthy, you are welcome to support this project by following:
如果您觉着这个项目是值得做的, 是做的有意义的, 可以通过以下方式来表达支持:

  • Watch/Star/Fork this project. 关注/标星/Fork 该项目.

  • Share/Recommend this plugin(polyglot) to your friends/work mates. 向朋友或者同事推荐该插件.

  • Highly rate polyglot in Marketplace. 在应用市场对 polyglot 进行评分

  • Create PR s. 提交 PR.

  • Create Issue s. 反馈问题, 提供您的建议或者想法.

  • If you love this plugin, you may donate for maintain this project and this plugin. 如果你喜欢这个插件, 可以考虑捐赠, 以持续地对该项目跟插件进行维护.

    Open Collective 支付宝/Alipay 微信/Wechat PayPal
    polyglot Collective alipay wechat Support


使用支付宝/微信支付捐赠后请留言或者通过邮件提供您的名字/昵称和网站,格式为:
名字/昵称 [<网站>][:留言](网站与留言为可选部分,例子:bytebeats <github.com/bytebeats>:加油!)
您提供的名字、网站和捐赠总额将会被添加到捐赠者列表中。
邮箱地址:[email protected]
感谢您的支持!

More plugins

Stargazers over time

Stargazers over time

Github Stars Sparklines

Sparkline

Contributors

Contributors over time

polyglot's People

Contributors

bytebeats avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

polyglot's Issues

Cannot invoke "javax.script.ScriptEngine.eval(java.io.Reader)" because "engine" is null

java.lang.NullPointerException: Cannot invoke "javax.script.ScriptEngine.eval(java.io.Reader)" because "engine" is null
at me.bytebeats.polyglot.tlr.impl.BaiduPolyglot.token(BaiduPolyglot.kt:141)
at me.bytebeats.polyglot.tlr.impl.BaiduPolyglot.addFormData(BaiduPolyglot.kt:133)
at me.bytebeats.polyglot.tlr.AbstractPolyglot.translate(AbstractPolyglot.kt:36)
at me.bytebeats.polyglot.ui.PolyglotWindow.lambda$createToolWindowContent$0(PolyglotWindow.java:79)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.desktop/java.awt.Component.processEvent(Unknown Source)
at java.desktop/java.awt.Container.processEvent(Unknown Source)
at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:909)
at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:831)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:753)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$5(IdeEventQueue.java:437)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:436)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113)
at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:615)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:434)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:838)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:480)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

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.