1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-12-18 08:27:03 +02:00
Commit Graph

178 Commits

Author SHA1 Message Date
Stephen Sorriaux
1cf23bdc05 Fix languages reload
As this object can be updated from outside its own module, the module should be imported and
used instead.

Relates to https://github.com/uav4geo/LibreTranslate/issues/54
2021-03-28 17:26:31 -04:00
Piero Toffanin
053eafd5a5
Merge pull request #67 from Philippe-Cholet/main
Add option --load-only to set available languages
2021-03-28 15:39:36 -04:00
Philippe-Cholet
92bf61d419 Update README.md 2021-03-28 16:33:10 +02:00
Philippe-Cholet
abeee7e385 Add option --load-only language codes
The user will not have to install language packages from "argos-translate" that he/she has no use for.
2021-03-28 16:19:19 +02:00
Piero Toffanin
fb031b826a
Merge pull request #60 from mammo0/polyglot
use polyglot for language detection and transliteration
2021-03-12 10:54:41 -05:00
Piero Toffanin
79224edfe4 Catch unknown language 2021-03-12 10:53:09 -05:00
Piero Toffanin
4875177f68 Merge branch 'main' of https://github.com/uav4geo/LibreTranslate into polyglot 2021-03-12 09:55:19 -05:00
Piero Toffanin
0bce59492f
Merge pull request #61 from PJ-Finlay/patch-1
Updated Argos Translate to 1.1.4
2021-03-12 09:55:05 -05:00
P.J. Finlay
72b52db168
Updated Argos Translate to 1.1.4
- https://github.com/argosopentech/argos-translate/pull/43
2021-03-11 08:24:04 -06:00
mammo0
44da802a7f some more output when installing transliteration models 2021-03-11 15:04:22 +01:00
mammo0
7967c1b2c4 reload installed language models after updating them 2021-03-11 14:42:29 +01:00
mammo0
dd128162ef use appdirs to define path to polyglot data 2021-03-11 14:42:29 +01:00
mammo0
e0693d697e download the transliteration packages of polyglot during boot 2021-03-11 14:42:29 +01:00
mammo0
25fb3b3c21 added transliteration before actual translation
-> e.g. if the source language is Russian, argostranslate expects a
cyrillic text
2021-03-11 14:42:29 +01:00
mammo0
36fee9bf1b allow batch processing for language detection 2021-03-11 14:42:29 +01:00
mammo0
d4cb859c8d removed langdetect dependency 2021-03-11 14:42:29 +01:00
mammo0
51980f6ff5 use polyglot for detecting the language 2021-03-11 14:42:29 +01:00
mammo0
9301ad0bda added polyglot to requirements.txt 2021-03-11 14:42:29 +01:00
Piero Toffanin
5c73cebd9c
Merge pull request #59 from mammo0/docker_include_models
Include language models into Docker image
2021-03-11 08:34:20 -05:00
mammo0
579cd76289 updated README 2021-03-11 07:23:22 +01:00
mammo0
76f069d472 add an option to include the language models into the Docker image
-> this allows the direct offline usage of the Docker image
2021-03-11 07:21:33 +01:00
Piero Toffanin
42ec04e4ff Bump version 2021-03-07 17:23:43 -05:00
Piero Toffanin
b8818ff14e updated argos, validate input JSON dict 2021-03-07 17:23:25 -05:00
Piero Toffanin
a86442f23c
Merge pull request #56 from sigaloid/patch-1
Add .net language binding
2021-03-03 10:02:06 -05:00
sigaloid
1a351ba71b
Add .net language binding 2021-03-03 14:20:19 +00:00
Piero Toffanin
d4b8d7f8ad
Merge pull request #53 from PJ-Finlay/main
Added link to node.js translate
2021-02-27 15:47:56 -05:00
P.J. Finlay
c91ac6adda
Added link to node.js translate
https://github.com/franciscop/translate
2021-02-27 09:27:14 -06:00
Piero Toffanin
5741e4c4f5
Merge pull request #50 from sigaloid/patch-1
Include reverse proxy instructions
2021-02-26 11:37:42 -05:00
sigaloid
80fdf4bcc2
Update README.md 2021-02-26 16:24:58 +00:00
sigaloid
fc77ef373d
Include reverse proxy instructions 2021-02-26 16:19:02 +00:00
Piero Toffanin
fa6e211d6d Merge branch 'main' of https://github.com/uav4geo/LibreTranslate into main 2021-02-26 09:58:38 -05:00
Piero Toffanin
3e952fbdb4 Fix Limiter: #49 2021-02-26 09:58:29 -05:00
Piero Toffanin
adbadded6b
Language bindings note 2021-02-26 09:07:02 -05:00
Piero Toffanin
4e0470f68c
Merge pull request #45 from ErQrYfkrju/main
fix static package_data for offline mode
2021-02-20 08:46:04 -05:00
ErQrYfkrju
f180d750fd
fix static package_data for offline mode
package_data 'static/*'  won`t include sub directories so offline mode would result in 404 for static resources under js, css, fonts
2021-02-18 21:44:26 +03:00
Piero Toffanin
90de8e22a0 API keys support, bug fixes, improvements 2021-02-15 13:30:28 -05:00
Piero Toffanin
092990cfb3
Update README.md 2021-02-10 18:20:19 -05:00
Piero Toffanin
3987200f05 Expose /languages as both GET and POST 2021-02-10 13:06:11 -05:00
Piero Toffanin
9434ee83b5
Merge pull request #42 from Trekky12/main
Add offline parameter
2021-02-10 12:22:55 -05:00
Tobias
50cf24a09c Merge branch 'main' of github.com:Trekky12/LibreTranslate into main 2021-02-10 17:57:57 +01:00
Tobias
42267eb8db Add offline parameter
Offline usage is possible after initializing and downloading of models
2021-02-10 17:52:03 +01:00
Piero Toffanin
ce0aced443
Merge pull request #41 from pierotofy/detect
Add /detect API
2021-02-10 11:05:48 -05:00
Piero Toffanin
53cf88f785 update readme 2021-02-10 11:05:23 -05:00
Piero Toffanin
2be93e45a2 Update main.py 2021-02-10 11:04:02 -05:00
Piero Toffanin
46fca61cc2 Add /detect API 2021-02-10 10:51:17 -05:00
Piero Toffanin
3156761037
Merge pull request #39 from vemonet/main
Add badges to the readme to display tests results and python versions
2021-02-09 20:38:39 -05:00
Vincent Emonet
ac149cb5d1 Add badges to the readme to display tests results and python versions from pypi 2021-02-10 01:01:24 +01:00
Piero Toffanin
485c63fd4f
Merge pull request #37 from vemonet/add-pip-packaging
Add pip packaging
2021-02-09 15:21:39 -05:00
Piero Toffanin
1b907c1703 Add info to setup.py, edit README 2021-02-09 15:20:46 -05:00
Vincent Emonet
c75c664058 Clean up tests 2021-02-09 18:00:11 +01:00