1. Self-Managed Documentation /
  2. System Administration /
  3. System Configuration
Skip table of contents LILT has more languages than what is available out of the box on-premise. For a full list of supported languages see Language Models. Use the link, or search “LILT KB Supported Languages”. Tester will either need to exec into front pod or run front locally with a proxy to the dev database.
The commands for the cli:
  • List all of the enabled language models:
yarn admin-cli limit-models --list or: npm run dist-admin-cli -- limit-models --list=true
  • Enables the language pair. Can be a single pair or many.
Language pairs must be entered in all lowercase
  • npm run dist-admin-cli -- limit-models --enable ar-en
    npm run dist-admin-cli -- limit-models --enable ar-en de-en zt-en
    A successful command will log something like this to the terminal:
    info: 2024-04-12T21:50:50.375Z Enabled model: ar-en meta: {}
  • Disable the language pair listed. Can be a single pair or many.
    npm run dist-admin-cli -- limit-models --disable ar-en
    npm run dist-admin-cli -- limit-models --disable ar-en de-en zt-en
    A successfull command will log something like this to the terminal:
    info: 2024-04-12T21:51:40.029Z Disabled model: ar-en meta: {}
  • Additionally, options can be combined in one command
    npm run dist-admin-cli -- limit-models --enable ar-en --disable de-en zt-en
  • After completing the above, restart pods for front, redis, and tm-core.