Skip to content

Commit

Permalink
chore(#350): move translators to other repository
Browse files Browse the repository at this point in the history
  • Loading branch information
vitonsky committed May 1, 2023
1 parent 8f3f80b commit 72264c3
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 184 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Translate web pages, highlighted text, Netflix subtitles, private messages, spea

# Why Linguist?

Unlike other browser extensions, Linguist is not just a wrapper over the Google Translator Widget; it's a full-featured and independent translation system. This is why with Linguist you can be private and translate texts offline on your device and use any translation service, [even your own](./docs/CustomTranslator.md) like ChatGPT. See a [custom translators list](./modules/README.md) to find bindings for the most popular translation services.
Unlike other browser extensions, Linguist is not just a wrapper over the Google Translator Widget; it's a full-featured and independent translation system. This is why with Linguist you can be private and translate texts offline on your device and use any translation service, [even your own](./docs/CustomTranslator.md) like ChatGPT. See a [custom translators list](https://github.com/translate-tools/linguist-translators) to find bindings for the most popular translation services.

Linguist is free, open-source, respects your privacy, and does not collect your personal data.

Expand Down
2 changes: 1 addition & 1 deletion docs/manuals/OfflineTranslation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ To do this, you need to deploy any service locally for translating text and impl

You can use the [LibreTranslate project](https://github.com/LibreTranslate/LibreTranslate) to deploy a machine translation service locally or on your own server.

After deployment (or finding a trusted server), add the custom translator [LibreTranslator](../../modules/LibreTranslator.js) and replace the `apiPath` value with the actual URL of the LibreTranslate instance.
After deployment (or finding a trusted server), add the custom translator [LibreTranslator](https://github.com/translate-tools/linguist-translators/blob/master/translators/LibreTranslator.js) and replace the `apiPath` value with the actual URL of the LibreTranslate instance.
65 changes: 0 additions & 65 deletions modules/LibreTranslator.js

This file was deleted.

63 changes: 0 additions & 63 deletions modules/LingvaTranslator.js

This file was deleted.

14 changes: 1 addition & 13 deletions modules/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1 @@
Directory contains a [custom translators](../docs/CustomTranslator.md) third party modules.

This modules is not embedded to a Linguist because not ready to production use, may works not stable or need configuration, like API keys.

The purpose of this list is to provide for users an alternative translators.

If you have project about text translation, you can add translator with bindings for your API to a current directory and create pull request. Read [custom translators docs](../docs/CustomTranslator.md) to known about translator API.

# Translators list

- [LibreTranslator](./LibreTranslator.js) [[github](https://github.com/LibreTranslate/LibreTranslate)] - machine translation project that may be deployed locally (read more in [Offline translation manual](../docs//manuals/OfflineTranslation.md))
- [TartuNLP](./TartuNLP.js) [[github](https://github.com/TartuNLP/translation-api)] - machine translation engine developed by the NLP lab at the [University of Tartu](https://www.ut.ee/)
- [LingvaTranslator](./LingvaTranslator.js) [[github](https://github.com/thedaviddelta/lingva-translate)] - google translator API proxy with [list of public instances](https://github.com/thedaviddelta/lingva-translate#instances)
Custom translators moved to https://github.com/translate-tools/linguist-translators
41 changes: 0 additions & 41 deletions modules/TartuNLP.js

This file was deleted.

10 changes: 10 additions & 0 deletions scripts/locales/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 72264c3

Please sign in to comment.