Commit graph

94 commits

Author SHA1 Message Date
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
Vincent Emonet
5eea0e75e8 Fix __init__.py files 2021-02-09 15:30:14 +01:00
Vincent Emonet
17c1554c51 Fix test workflow 2021-02-09 15:25:05 +01:00
Vincent Emonet
d53e08b57e Add tests for argos boot 2021-02-09 15:21:53 +01:00
Vincent Emonet
9fe75094e0 fix license in setup.py 2021-02-09 14:46:11 +01:00
Vincent Emonet
7139b2f41b update Dockerfile and README 2021-02-09 14:17:06 +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
Piero Toffanin
7eb5081f2a Removed models submodule 2021-02-08 10:41:27 -05:00
Piero Toffanin
01a4d3a57c
Merge pull request #31 from worldworm/main
Add frontend translation timeout parameter
2021-01-28 12:20:43 -05:00
worldworm
a36c3b53f0
update README.md frontend arguments #29 2021-01-28 17:20:13 +01:00
worldworm
6d5f6bdc6c Add frontend translation timeout parameter #29 2021-01-28 16:16:55 +00:00
Piero Toffanin
370ff7a37c
Fix typo 2021-01-19 16:49:50 -05:00
Piero Toffanin
580887fcc6
Merge pull request #24 from caugner/docker-issues
Fixes some Docker issues
2021-01-19 16:49:03 -05:00
Piero Toffanin
5b0cdae2e7
Merge pull request #22 from caugner/batch-translation
Add support for batch translation
2021-01-19 16:48:01 -05:00
Claas Augner
4274543bc8 chore(docker): copy models first 2021-01-19 20:05:23 +01:00
Claas Augner
e95915ff87 fixup! fix(docker): ignore .git 2021-01-19 19:55:50 +01:00
Claas Augner
c2722130c8 fix(docker): set WORKDIR 2021-01-19 19:46:56 +01:00
Claas Augner
eab80f0c8c fix(docker): ignore .git 2021-01-19 19:46:56 +01: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
Piero Toffanin
9aae135420
Merge pull request #16 from wuniversales/patch-1
Various improvements
2021-01-18 08:18:49 -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
e673bd76a2 Credits 2021-01-15 12:15:03 -05:00
Piero Toffanin
5b895a591b Check roadmap 2021-01-15 12:14:36 -05: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
Piero Toffanin
06b3c12ff6
Merge pull request #12 from vemonet/main
add support for auto language
2021-01-15 11:36:43 -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
Piero Toffanin
9bf3eabb6e
Merge pull request #11 from andrewkdinh/main
Add missing bracket in API request example
2021-01-11 15:01:36 -05:00
Andrew Dinh
951a341ab9
Add missing bracket in API request example 2021-01-11 11:58:56 -08:00
Piero Toffanin
0a7fe447e1
Update README.md 2021-01-10 09:55:26 -05:00