SWeTE (Simple Website Translation Engine) is an open source translation proxy written in PHP, using MySQL for its translation memory.
- SWeTE Homepage
- Introductory Tutorial - (An article originally published in PHP Architect)
- Users Guide
The easiest way to run SWeTE is with Docker:
git clone https://github.com/shannah/swete.git
cd swete
docker compose upThen open http://localhost:8080/swete-admin/ in your browser.
To use a different port:
SWETE_PORT=9090 docker compose upTo 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| 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 |
- PHP 7.0+
- MySQL 5+ or MariaDB 10+
- Apache 1.3+ with mod_rewrite
See the Users Guide for manual installation instructions.
GPLv2
SWeTE Server is developed by Web Lite Translation Corp..