Sign in

Mod for projectsend

Translations

This mod adds installation options for adding translations to the Docker image of LinuxServer.io for ProjectSend.

arch
amd64
built

Use it#

Set DOCKER_MODS on the projectsend container and recreate it. The mod is pulled on every start; several mods are separated with |.

DOCKER_MODS=ghcr.io/linuxserver-playground/mods:projectsend-translations

:projectsend-translations always gets the newest build. To stay on this one, pin its tag:

DOCKER_MODS=ghcr.io/linuxserver-playground/mods:projectsend-translations-45023b1
services:
  projectsend:
    image: ghcr.io/linuxserver-playground/projectsend:latest
    environment:
      - DOCKER_MODS=ghcr.io/linuxserver-playground/mods:projectsend-translations

Details#

Using this Docker Mod

To add this Docker Mod to your installation of the ProjectSend Docker image of LinuxServer.io, please add this endpoint ghcr.io/linuxserver-playground/mods:projectsend-translations to the DOCKER_MODS environment variable. You can install multiple Docker Mods by separating them by |. Read this page for more information.

Now, you can define the languages/translations to be installed with their name to the TRANSLATIONS environment variable. You can choose to install multiple translations by separating them with commas. You can either install them by providing the folder name of a subfolder in the new /translations volume, or the “Lang. code” value from the before mentioned official translations website. The English translation en is automatically installed by the ProjectSend image and does not have to be addressed by this Docker Mod or the TRANSLATIONS environment variable.

Full example with docker-compose:

---
version: "2.1"
services:
  projectsend:
    image: lscr.io/linuxserver/projectsend
    container_name: projectsend
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
      - MAX_UPLOAD=<5000>
      - DOCKER_MODS=ghcr.io/linuxserver-playground/mods:projectsend-translations
      - TRANSLATIONS=de,fr,zh_CN
    volumes:
      - <path to data>:/config
      - <path to data>:/data
      - <path to data>:/translations
    ports:
      - 80:80
    restart: unless-stopped

Source / References

I took inspiration from the Dockerfile of the Grafana repository, especially this file. Thanks!

Community project

Improve this mod, or make your own

Mods are how LinuxServer images grow without getting heavier: a Dockerfile, a few scripts and a mod.yml. If this one is missing something, or you need one like it for another image, an AI agent in our harness can build and test it with you.

Ask your agent

  • The projectsend-translations mod <what is wrong>. Fix it, test it and draft the PR.
  • Make a mod like projectsend-translations for <another image>, and test it.

Making a mod Every way to help Get the harness (opens in a new tab)

Source: projectsend-translations branch (opens in a new tab). Every mod