https://github.com/rizutazu/krunner-translator
krunner-translator for plasma 6
https://github.com/rizutazu/krunner-translator
Last synced: about 2 months ago
JSON representation
krunner-translator for plasma 6
- Host: GitHub
- URL: https://github.com/rizutazu/krunner-translator
- Owner: rizutazu
- License: gpl-3.0
- Created: 2024-09-22T07:02:47.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-02-17T02:58:53.000Z (about 2 months ago)
- Last Synced: 2025-02-17T03:30:47.859Z (about 2 months ago)
- Language: C++
- Homepage:
- Size: 202 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
- awesome-kde - krunner-translator
- awesome-kde - krunner-translator
README
# KRunner Translator (Plasma 6)
KRunner Translator for Plasma 6.
This plugin is derived from [this project](https://github.com/naraesk/krunner-translator) , but it is NOT A DIRECT PORT to plasma 6, so you cannot expect their features will be same. E.g, configuration is not implemented, so you can only use free translate engines.
## Feature
- Translate text
- Play audio for the text
Supported engine: `Google Translate`, `Bing Translate`, `Deepl Web Translate`
## Usage
This plugin supports two input schemes:
1. `target_abbr text`
2. `source_abbr:target_abb text``target_abbr` / `source_abbr` means the abbreviation of source/target language respectively, and `text`means the text you want to translate.
You can find supported language abbreviation at [here](src/languagerepository.cpp).
Example:
- `ja hello` --> `こんにちは`
- `en:es hello` --> `Hola`
**Notice:**
- You cannot play the audio of the *input text* if you don't specify the source language.
- Since Deepl translate does not ~~support~~ implement auto-detect source language, you must use the second input scheme to get its result if you want.
- Deepl translate result may be frequently unavailable due to its rate limit.## Installation
1. Install [Translate Shell](https://github.com/soimort/translate-shell), follow its guide if you encounter audio play problem.
2. make sure `cmake` / `KDE6` / `Qt6` developing environment is prepared.
3. Run `./install.sh`## Uninstall
- Run `./uninstall.sh`