Piero Toffanin
29c1f2cd2e
Remove print
2021-05-16 11:59:39 -04:00
Piero Toffanin
5c76febaa4
Fix memory leak
2021-05-16 11:52:39 -04:00
Piero Toffanin
1ac27aeb82
Flood protection
2021-05-16 11:50:22 -04:00
Piero Toffanin
4c5d828300
Daily request limit
2021-05-16 10:57:19 -04:00
Piero Toffanin
800774f557
Remove --offline flag
2021-05-16 10:42:58 -04:00
jdu9
ae76d7efb4
Add LibreJS support
2021-03-31 17:57:02 +02:00
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
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
79224edfe4
Catch unknown language
2021-03-12 10:53:09 -05: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
Piero Toffanin
b8818ff14e
updated argos, validate input JSON dict
2021-03-07 17:23:25 -05:00
Piero Toffanin
3e952fbdb4
Fix Limiter: #49
2021-02-26 09:58:29 -05:00
Piero Toffanin
90de8e22a0
API keys support, bug fixes, improvements
2021-02-15 13:30:28 -05:00
Piero Toffanin
3987200f05
Expose /languages as both GET and POST
2021-02-10 13:06:11 -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
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
Vincent Emonet
5eea0e75e8
Fix __init__.py files
2021-02-09 15:30:14 +01:00
Vincent Emonet
a0760eb23f
updated argos to 1.1.2, fix argos translate init and templates.html render
2021-02-09 14:12:32 +01:00
Vincent Emonet
90d743796b
Start adding pip setup package requirements (setup.py, __init__.py, use pkg_resource)
2021-02-09 01:24:34 +01:00
Piero Toffanin
9191524c04
Updated argos translate to 1.1.0
2021-02-08 10:56:45 -05:00
worldworm
6d5f6bdc6c
Add frontend translation timeout parameter #29
2021-01-28 16:16:55 +00:00
Claas Augner
8761af718d
feat(batch): add --batch-limit
2021-01-19 18:54:30 +01:00
Claas Augner
2c5eba14b4
feat: support batch translation
2021-01-19 18:53:36 +01:00
Piero Toffanin
72248f0050
Copy text fixes
2021-01-18 10:06:43 -05:00
wuniversales
5455c21aad
Various improvements
...
- Added option to delete all text.
- Added button to copy the translated text.
Note, you may need visual enhancements.
Note 2, Shall we change the cdn for the jsdelivr ones?
In my opinion it is better, besides open source.
2021-01-17 17:58:22 +01:00
Piero Toffanin
31359064b3
Update example code format
2021-01-15 12:13:42 -05:00
Piero Toffanin
db01aeb404
Only choose from languages available in argos
2021-01-15 12:12:00 -05:00
Piero Toffanin
41e381ae0c
Misc fixes, debug messages
2021-01-15 12:01:16 -05:00
Vincent Emonet
55d3c32b40
add support for auto language. Not perfect, it picks a language not supported sometimes
2021-01-13 15:33:58 +01:00
Andrew Dinh
951a341ab9
Add missing bracket in API request example
2021-01-11 11:58:56 -08:00
worldworm
f5d249c880
move charLimit to settings api
2021-01-10 09:24:42 +00:00
worldworm
b0645cd5d7
add favicon
2021-01-10 08:59:07 +00:00
worldworm
eb832cc538
fix swagger doc response model
2021-01-10 08:38:11 +00:00
worldworm
72b624db4c
add frontend language default parameter #6
2021-01-10 08:07:56 +00:00
Piero Toffanin
51adc564bb
Rate limit behind proxy
2020-12-21 11:16:49 -05:00
Piero Toffanin
d9a1a14287
Add machine word
2020-12-21 11:10:44 -05:00
Piero Toffanin
fc9c1dc4a4
Notes at bottom of page
2020-12-20 23:47:24 -05:00
Piero Toffanin
d9b9b44a12
OG tags on index
2020-12-20 19:11:18 -05:00
Piero Toffanin
f5f64d9890
Cleanup
2020-12-20 18:17:06 -05:00
Piero Toffanin
06caf81bd5
Remove swag definition
2020-12-20 17:11:06 -05:00
Piero Toffanin
e496d85a04
Fix docs
2020-12-20 17:06:29 -05:00
Piero Toffanin
cc02bb0a9f
Fix margin
2020-12-20 16:58:44 -05:00
Piero Toffanin
938809a0ae
Switch import
2020-12-20 16:02:30 -05:00
Piero Toffanin
aeb828fd27
Move imports
2020-12-20 16:01:24 -05:00
Piero Toffanin
f6bd993b38
Minor changes, updated README
2020-12-20 15:52:02 -05:00
Piero Toffanin
094b650be5
Waitress support
2020-12-20 15:05:22 -05:00
Piero Toffanin
e9609ddd64
UI mostly working
2020-12-20 11:55:56 -05:00
Piero Toffanin
1062ef2713
First commit
2020-12-19 17:40:37 -05:00