weblite/swete

Simple Website Translation Engine

Maintainers

Package info

github.com/shannah/swete

Type:project

pkg:composer/weblite/swete

Statistics

Installs: 11

Dependents: 0

Suggesters: 0

Stars: 14

Open Issues: 7

dev-master 2026-03-13 16:12 UTC

This package is auto-updated.

Last update: 2026-03-13 16:12:12 UTC


README

SWeTE (Simple Website Translation Engine) is an open source translation proxy written in PHP, using MySQL for its translation memory.

Quick Start (Docker)

The easiest way to run SWeTE is with Docker:

git clone https://github.com/shannah/swete.git
cd swete
docker compose up

Then open http://localhost:8080/swete-admin/ in your browser.

To use a different port:

SWETE_PORT=9090 docker compose up

To run multiple instances on the same machine, use different ports and project names:

SWETE_PORT=8080 docker compose -p swete1 up
SWETE_PORT=9090 docker compose -p swete2 up

Environment Variables

Variable Default Description
SWETE_PORT 8080 Host port for the web interface
DB_HOST db MySQL/MariaDB hostname
DB_NAME swete Database name
DB_USER swete Database user
DB_PASSWORD swete Database password

Manual Installation

Requirements

  • PHP 7.0+
  • MySQL 5+ or MariaDB 10+
  • Apache 1.3+ with mod_rewrite

See the Users Guide for manual installation instructions.

License

GPLv2

Credits

SWeTE Server is developed by Web Lite Translation Corp..