Bug 498252 - Customizable Translator Instances
Summary: Customizable Translator Instances
Status: REPORTED
Alias: None
Product: Crow Translate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist (vote)
Target Milestone: ---
Assignee: Gena
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-04 16:11 UTC by Mark
Modified: 2025-01-10 10:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2025-01-04 16:11:08 UTC
plz allowing users to specify custom instances for each supported translator. Currently, users are limited to using a single instance for all translations, such as `mozhi.example.com`. the idea seeks to provide users with the flexibility to choose different instances for each translator, including Google, Yandex, DuckDuckGo, and LibreTranslate.

**Benefits**

By introducing customizable instances, you can improve the overall user experience in several ways:

1. **Personalization**: Users can tailor the translation process to their preferences by selecting a specific instance for each translator.
2. **Private Translations**: With the ability to specify a custom instance for DuckDuckGo, users can enjoy private translations without relying on mozhi public instances.
3. **Reduced Load on Public Instances**: By using custom instances, we can reduce the load on mozhi public instances, servers, ensuring faster and more reliable translations.

**Implementation**

To implement this feature, we propose the following:

1. Introduce a new configuration option that allows users to specify custom instances for each translator so the user have more options.

**Real-World Use Cases**

This feature can be particularly useful in various scenarios:

* Like someone want to use LibreTranslate with Crow offline all he need to just choice the instance to libretranslate  (e.g., `127.0.0.1:5000` or `127.0.0.1:5010`) ONLY FOR LIBRETRANSLATE so he can still use mozhi for other translators.
* User want to use instance for DuckDuckGo, users can enjoy private translations without relying on mozhi public instances for DuckDuckGo.

By introducing customizable translator instances, I believe Crow Translator can become an even more powerful and user-friendly tool, providing a better experience for its community.
Comment 1 Gena 2025-01-04 16:14:17 UTC
Good suggestion! I'm open to it.
But I currently busy with another project. But I will quickly review if you submit this functionality as a PR.
Comment 2 Mark 2025-01-10 10:30:22 UTC
(In reply to Gena from comment #1)
> Good suggestion! I'm open to it.
> But I currently busy with another project. But I will quickly review if you
> submit this functionality as a PR.

After long time of some trying and thinking I believe that my coding experience in python, bash and go is good but in C++ isn't that much to make this YET.

but maybe in near future I will try to learn more C++ for contribution in kde apps ☺️.