dialect-app / dialect

A translation app for GNOME.
GNU General Public License v3.0
596 stars 69 forks source link

[Request] Support for Apertium #358

Open Nico7as opened 7 months ago

Nico7as commented 7 months ago

Hi,

I wish Dialect would support Apertium, a FOSS translation engine used for some languages.

Apertium is the engine used by Revirada, the main translator for the Occitan language.

Occitan is a regional language of the south or France. Its many dialects cover a third of the french territory.

In the schools where we teach it we try to promote FOSS and use the software in occitan whenever possible.

Online solutions exist, but I'd like my schoolchildren to use simple standalone software whenever possible.

Here are some ressources I could gather :

https://wiki.apertium.org/wiki/Main_Page https://www.apertium.org/index.oci.html#?dir=fra-oci&q=

A guide to use the API of Revirada, the reference online occitan translator, where Aperium is mentioned as an engine. https://revirada.eu/api_info

I know some people with coding skills, and a interest in this language en particular. Il try to get him on board with this request.

Nicolas

rafaelmardojai commented 7 months ago

Hello, thanks for the interest on Dialect,

Adding support for the Revirada API should be pretty trivial. We already have support for providers requiring api keys.

About Apertium itself, we're planning to add offline translation support in the near future, and Apertium could be one of the offline providers. Right now Dialect is internally designed for online providers, but this PR (#357) that should be merged soon will make our internal api for providers more generic. Next thing will be to implement an internal api for offline providers that need to download models, so they can have a common user interface.