mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-06-22 17:10:59 +00:00
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.
This commit is contained in:
parent
fb031b826a
commit
abeee7e385
3 changed files with 27 additions and 4 deletions
|
@ -49,7 +49,7 @@ def get_routes_limits(default_req_limit, api_keys_db):
|
|||
def create_app(args):
|
||||
if not args.offline:
|
||||
from app.init import boot
|
||||
boot()
|
||||
boot(args.load_only)
|
||||
|
||||
from app.language import languages
|
||||
app = Flask(__name__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue