Skip to content

[Bug]: Translation Banner not appearing bulwark 1.8.1 #10

Description

@BadPirate

Description

Bulwark Webmail: 1.8.1
Translate plugin: 1.3.1

Translate installs and enables successfully.
registry.json contains settingsSchema and ui:email-banner permission.
translate.js exports an email-banner slot with shouldShow: () => true.
However:

  • no Translate banner appears on any email
  • plugin settings UI says no settings are declared
  • LibreTranslate endpoint is reachable and translates successfully
  • Spam Score UI plugin works correctly

Steps to Reproduce

  1. On Bulwark 1.8.1 - Manually install plugin for translate from translate.zip (this repo)
  2. Enable

Expected Behavior

Every mail should have translation banner

Actual Behavior

No banner

Bulwark Version

1.8.1

Stalwart Mail Server Version

No response

Browser

No response

Operating System

None

Screenshots / Screen Recording

Docker Compose:

services:
  bulwark:
    image: 'ghcr.io/bulwarkmail/webmail:latest'
    environment:
      - HOSTNAME=0.0.0.0
      - PORT=3000
      - SERVICE_URL_BULWARK_3000
      - 'LIBRETRANSLATE_URL=http://libretranslate:5000'
    volumes:
      - 'bulwark-settings:/app/data/settings'
      - 'bulwark-admin:/app/data/admin'
      - 'bulwark-admin-state:/app/data/admin-state'
      - 'bulwark-telemetry:/app/data/telemetry'
    healthcheck:
      test:
        - CMD
        - wget
        - '--no-verbose'
        - '--tries=1'
        - '--spider'
        - 'http://127.0.0.1:3000/api/health'
      interval: 30s
      timeout: 5s
      retries: 3
      start_period: 10s
    restart: unless-stopped
  libretranslate:
    image: 'libretranslate/libretranslate:latest'
    restart: unless-stopped
    environment:
      - 'LT_LOAD_ONLY=en,nl'
      - LT_UPDATE_MODELS=true
    volumes:
      - 'libretranslate-models:/home/libretranslate/.local'
    healthcheck:
      test:
        - CMD-SHELL
        - './venv/bin/python scripts/healthcheck.py'
      interval: 30s
      timeout: 5s
      retries: 3
      start_period: 60s
volumes:
  bulwark-settings: null
  bulwark-admin: null
  bulwark-admin-state: null
  bulwark-telemetry: null
  libretranslate-models: null

Relevant Logs or Error Output

Additional Context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions