Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offline Translation #211

Open
dnet890 opened this issue Sep 30, 2021 · 10 comments
Open

Offline Translation #211

dnet890 opened this issue Sep 30, 2021 · 10 comments
Labels
enhancement New feature or request

Comments

@dnet890
Copy link

dnet890 commented Sep 30, 2021

Hi
I am just curious. is it possible for this app to have other feature for conduct offline translation by downloading offline data beforehand?

@ghost
Copy link

ghost commented Dec 30, 2021

i think not :

Methodology,
1 : Disable internet
2 : open it
3 : Try translation

Result, network error

@mufeedali
Copy link
Member

It's actually kind of possible already if you setup a local LibreTranslate instance. As you can probably guess though, making this easier to do isn't a priority at the moment.

@ghost
Copy link

ghost commented Dec 31, 2021

It's actually kind of possible already if you setup a local LibreTranslate instance. As you can probably guess though, making this easier to do isn't a priority at the moment.

Yep only responded to a question with the way to test him/herself.

@mufeedali
Copy link
Member

Yep only responded to a question with the way to test him/herself.

This issue is a feature request, meaning he is already aware it's not present (at least in a more accessible manner) in the application.

@dnet890
Copy link
Author

dnet890 commented Dec 31, 2021

Well, like Google Translate/Microsoft Translator (Windows/Android/iOS) we can download offline data and perform a translation without an internet.

@ghost
Copy link

ghost commented Jan 1, 2022

Yep only responded to a question with the way to test him/herself.

This issue is a feature request, meaning he is already aware it's not present (at least in a more accessible manner) in the application.

an easy way (because you are a gnome app witch isn't the same userbase at them) check how https://github.com/argosopentech/argos-translate do it.

Their interface is more kde friendly (pyqt used) and your Gnome friendly, some code exchange (to not recreate the wheel) can be done between these two app like that KDE and Gnome user are both happy?

I'm saying that with in mind i will help them to create flatpak (if i success).

@rafaelmardojai
Copy link
Member

Argos is what powers Libre Translate.

We have avoided offline translation for now because we need to implement a system to manage models. Also the translation quality of Argos hasn't motivated us to implement all that. There are good quality neural translation system like EasyNMT, but the models are very heavy, and that's a problem for regular users.

So that's the state of offline translation, we want it, but we lack the time and the current technologies have some issues to speed that up.

@mufeedali mufeedali added the enhancement New feature or request label Jan 6, 2022
@mufeedali mufeedali changed the title (Feature Request) Offline Translation Offline Translation Jan 6, 2022
@jeblad
Copy link

jeblad commented May 18, 2022

Some of the Apertium translation pairs are pretty lightweight, and could be an option. Apertium is a rule-based shallow translation engine, and best suited for close languages. In those specific cases it produce very good quality translations. An example is the translation between Norwegian Bokmål and Norwegian Nynorsk, which is excellent.

@happychameleon
Copy link

Perhaps it could be possible to use the work done by the Bergamot project.
Mozilla created a plugin that lets you translate webpages offline, it was recently featured on their hacks blog.

@rafaelmardojai
Copy link
Member

@happychameleon see #183.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants