[{"data":1,"prerenderedAt":174},["ShallowReactive",2],{"seo-verification":3,"blog-self-host-weblate-vps-translation-platform-ma-en":6,"promo-bar-likely":173},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"key":7,"data":8},"blog-self-host-weblate-vps-translation-platform-ma-en",{"id":9,"slug":10,"slugs":11,"title":15,"excerpt":16,"readTime":17,"views":18,"isPinned":19,"noindex":19,"publishedAt":20,"updatedAt":21,"category":22,"categories":28,"featuredImage":30,"bgImage":31,"posterImage":32,"relatedSolution":33,"intro":36,"keyPoints":37,"sections":38,"ctaTitle":114,"ctaBody":115,"ctaButton":116,"ctaUrl":117,"relatedPosts":118},579,"self-host-weblate-vps-translation-platform",{"fr":12,"en":10,"ar":13,"es":14},"self-host-weblate-vps","استضافة-weblate-على-vps","autoalojar-weblate-vps-plataforma-traduccion","Self-Host Weblate on a VPS: Translate Your Apps Straight From Git","Install Weblate on a VPS with Docker Compose: Git-connected continuous localization, review, quality checks, Arabic RTL and suggestions from LibreTranslate.",6,0,false,"2026-11-14T00:00:00+00:00","2026-11-14T21:12:37+00:00",{"id":23,"name":24,"slug":25,"color":26,"icon":27},7,"Self-hosting","self-hosting","bg-indigo-500\u002F10 text-indigo-400","cloud",[29],{"id":23,"name":24,"slug":25,"color":26,"icon":27},null,"\u002Fblog\u002Fcovers\u002Fbg.svg","\u002Fblog\u002Fcovers\u002Fself-host-weblate-vps-poster.svg",{"categorySlug":34,"appSlug":35},"development","weblate","Translating an app into Arabic, French and English often ends in JSON files exchanged by e-mail, broken placeholders and translations that land after the release. Weblate fixes this at the source: it connects to your Git repository, shows each string to translators in the browser and sends approved translations back as commits. This guide installs it on a VPS with Docker Compose, closes it to strangers, publishes it over HTTPS behind nginx and connects a first repository.",[],[39,43,53,79,82,95,99,102,105,108,111],{"type":40,"title":41,"body":42},"h2","What Weblate does","Weblate is a continuous localization platform: instead of exporting files by hand, you give it the address of your application's Git repository. It reads the language files — gettext PO, JSON (i18next, vue-i18n), XLIFF, YAML, Android, iOS, ARB, Java properties — and presents each string to translators in a web editor. Approved translations go back to the repository as commits, or as pull requests if you prefer to review.\n\nThe project is released under the GPL-3.0 licence. The official Docker image relies on PostgreSQL and on Valkey (or Redis) for the cache and the task queue. On a VPS, expect about 1.7 GB of memory at rest with two worker processes.",{"type":44,"title":45,"items":46},"ul","What Weblate gives you",[47,48,49,50,51,52],"**A single source of truth: Git** — developers add strings in the code, translations come back to the same repository.","**Quality checks** — missing placeholders, broken tags, spacing and punctuation, incomplete plurals.","**Arabic without workarounds** — right-to-left editing and six plural forms.","**Explicit review** — each string can be marked as needing edit, translated or approved.","**Translation memory and glossary** — your product terms always translated the same way.","**Machine suggestions** — from your own LibreTranslate or another translation service.",{"type":54,"title":55,"headers":56,"rows":59},"comparison","Hosted platform or Weblate on your VPS",[5,57,58],"Hosted platform (Crowdin, Lokalise…)","Weblate on your VPS",[60,64,67,71,75],[61,62,63],"Where strings live","Vendor's servers","Your VPS",[65,66,66],"Link with the code","Git integration",[68,69,70],"Translator accounts","Depends on the plan","As many as you want",[72,73,74],"Unreleased texts","At a third party","On your server",[76,77,78],"Server licence","Proprietary service","GPL-3.0",{"type":40,"title":80,"body":81},"Prerequisites","An Ubuntu 24.04 VPS with **4 GB of RAM and 2 vCPUs**. You need Docker with the Compose plugin, nginx and certbot on the host, and a name (`weblate.example.com` in this guide) pointing to the VPS IP. Also plan an SMTP account listening on port 587 with TLS: Weblate sends invitations and password resets by e-mail.",{"type":83,"title":84,"steps":85},"steps","Install Weblate with Docker Compose",[86,89,92],{"title":87,"body":88},"Prepare the folder and the .env file","The same file is used by Docker Compose and by the Weblate container. `WEBLATE_REGISTRATION_OPEN=0` closes sign-ups and `WEBLATE_REQUIRE_LOGIN=1` requires a login to read anything. Replace the three SMTP lines with your provider's.\n```bash\nmkdir -p \u002Fopt\u002Fweblate && cd \u002Fopt\u002Fweblate\ncat > .env \u003C\u003CEOF\nWEBLATE_SITE_DOMAIN=weblate.example.com\nWEBLATE_ENABLE_HTTPS=1\nWEBLATE_SECURE_PROXY_SSL_HEADER=HTTP_X_FORWARDED_PROTO,https\nWEBLATE_IP_PROXY_HEADER=HTTP_X_FORWARDED_FOR\nWEBLATE_ADMIN_EMAIL=admin@example.com\nWEBLATE_ADMIN_PASSWORD=$(openssl rand -hex 16)\nWEBLATE_REGISTRATION_OPEN=0\nWEBLATE_REQUIRE_LOGIN=1\nWEBLATE_SERVER_EMAIL=weblate@example.com\nWEBLATE_DEFAULT_FROM_EMAIL=weblate@example.com\nWEBLATE_EMAIL_HOST=smtp.example.com\nWEBLATE_EMAIL_HOST_USER=weblate@example.com\nWEBLATE_EMAIL_HOST_PASSWORD=\u003CSMTP_PASSWORD>\nPOSTGRES_HOST=database\nPOSTGRES_DB=weblate\nPOSTGRES_USER=weblate\nPOSTGRES_PASSWORD=$(openssl rand -hex 16)\nREDIS_HOST=cache\nREDIS_PASSWORD=$(openssl rand -hex 16)\nEOF\nchmod 600 .env\n```",{"title":90,"body":91},"Write the docker-compose.yml file","Three services: PostgreSQL, password-protected Valkey, and Weblate. The port is only published on the loopback interface: only nginx will be exposed to the Internet.\n```yaml\nservices:\n  database:\n    image: postgres:18.7-alpine\n    restart: unless-stopped\n    environment:\n      POSTGRES_DB: weblate\n      POSTGRES_USER: weblate\n      POSTGRES_PASSWORD: \"${POSTGRES_PASSWORD}\"\n    volumes:\n      - weblate-db:\u002Fvar\u002Flib\u002Fpostgresql\n\n  cache:\n    image: valkey\u002Fvalkey:9.1.3\n    restart: unless-stopped\n    command: [\"valkey-server\", \"--save\", \"60\", \"1\", \"--requirepass\", \"${REDIS_PASSWORD}\"]\n    volumes:\n      - weblate-redis:\u002Fdata\n\n  weblate:\n    image: weblate\u002Fweblate:2026.11.2.0\n    restart: unless-stopped\n    depends_on: [database, cache]\n    env_file: .env\n    ports:\n      - \"127.0.0.1:8080:8080\"\n    volumes:\n      - weblate-data:\u002Fapp\u002Fdata\n      - weblate-cache:\u002Fapp\u002Fcache\n    tmpfs: [\u002Frun, \u002Ftmp]\n\nvolumes:\n  weblate-db: {}\n  weblate-redis: {}\n  weblate-data: {}\n  weblate-cache: {}\n```",{"title":93,"body":94},"Start and check","The first start creates the database and the `admin` account, which takes one to two minutes. The health endpoint must answer `200`, and the last command prints the administrator password:\n```bash\ndocker compose up -d\ndocker compose ps\ncurl -s -o \u002Fdev\u002Fnull -w '%{http_code}\\n' http:\u002F\u002F127.0.0.1:8080\u002Fhealthz\u002F\ngrep WEBLATE_ADMIN_PASSWORD .env\n```",{"type":96,"title":97,"body":98},"tip","Do not publish an open instance","With `WEBLATE_REGISTRATION_OPEN=1`, anyone can create an account on your instance, and without `WEBLATE_REQUIRE_LOGIN=1` public projects can be read without an account — including the strings of a feature not announced yet. Keep both settings from this guide and leave the port on `127.0.0.1`.",{"type":40,"title":100,"body":101},"Publish Weblate over HTTPS with nginx","Create `\u002Fetc\u002Fnginx\u002Fsites-available\u002Fweblate` with this server block, then enable it with a symbolic link in `sites-enabled`. The `X-Forwarded-Proto` header is essential: it tells Weblate the request arrived over HTTPS.\n```nginx\nserver {\n    listen 80;\n    server_name weblate.example.com;\n    client_max_body_size 100m;\n\n    location \u002F {\n        proxy_pass http:\u002F\u002F127.0.0.1:8080;\n        proxy_set_header Host $host;\n        proxy_set_header X-Real-IP $remote_addr;\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n        proxy_set_header X-Forwarded-Proto $scheme;\n    }\n}\n```\nCheck the configuration, reload nginx and request the certificate; certbot adds the HTTPS block and the redirect from HTTP itself.\n```bash\nsudo nginx -t && sudo systemctl reload nginx\nsudo certbot --nginx -d weblate.example.com\n```\nThen open `https:\u002F\u002Fweblate.example.com\u002Faccounts\u002Flogin\u002F` and log in with the user `admin`.",{"type":40,"title":103,"body":104},"Translate your first Git repository","Create a project, then a component. Give the repository URL, the branch and the language **file mask** — for example `locales\u002F*.json` for vue-i18n or `locale\u002F*\u002FLC_MESSAGES\u002Fdjango.po` for Django. Weblate clones the repository, detects the languages present and offers to add more.\n\nFor it to send translations back, open **Manage › SSH keys**, generate the instance key and add it as a deploy key with write access to the repository, then set the component's push URL over SSH. Weblate groups changes and pushes them as commits. To have it update as soon as a developer pushes code, declare a webhook to `https:\u002F\u002Fweblate.example.com\u002Fhooks\u002Fgithub\u002F` (there are also `\u002Fhooks\u002Fgitlab\u002F` and `\u002Fhooks\u002Fgitea\u002F`).\n\nEverything can also be driven through the REST API, with the token shown in your profile:\n```bash\ncurl -s https:\u002F\u002Fweblate.example.com\u002Fapi\u002Fprojects\u002F \\\n  -H \"Authorization: Token \u003CAPI_TOKEN>\"\n```",{"type":40,"title":106,"body":107},"Connect LibreTranslate for suggestions","Weblate offers machine suggestions under each string. If you run your own LibreTranslate instance, open **Manage › Translation services**, add the LibreTranslate service with your instance URL and its API key. Translators then see a proposal for Arabic, French, English or Spanish, which they correct before approving: the text never leaves your servers. The same setting exists at project level if you want to reserve it for some projects.",{"type":40,"title":109,"body":110},"Back up and update","Two things to back up: the PostgreSQL database and the `weblate-data` volume, which holds the instance secret key, the SSH keys and the repository clones.\n```bash\ncd \u002Fopt\u002Fweblate\ndocker compose exec -T database pg_dump -U weblate weblate | gzip > weblate-db-$(date +%F).sql.gz\ndocker run --rm -v weblate_weblate-data:\u002Fdata -v \"$PWD\":\u002Fbackup alpine:3.22 \\\n  tar czf \u002Fbackup\u002Fweblate-data-$(date +%F).tar.gz -C \u002Fdata .\n```\nTo update, first read the release notes on GitHub, back up, then change the image tag; Weblate applies its migrations on start:\n```bash\ncd \u002Fopt\u002Fweblate\nsed -i 's|weblate\u002Fweblate:2026.11.2.0|weblate\u002Fweblate:\u003CNEW_VERSION>|' docker-compose.yml\ndocker compose pull && docker compose up -d\n```",{"type":40,"title":112,"body":113},"One-click Weblate on ServOrbit","On a ServOrbit VPS, Weblate installs from the Marketplace. The script deploys the official image with PostgreSQL and Valkey, generates the administrator password and the service passwords, closes sign-ups, requires a login and configures the nginx reverse proxy over HTTPS — on a subdomain of one of your domains or on the VPS's free subdomain. You log in with the user `admin` and the password shown in your client area, then connect your first repository as above. Only SMTP remains to be set up to invite your translators.","Your translations on your VPS","A ServOrbit Ubuntu 24.04 VPS with 4 GB of RAM is enough for Weblate. One-click install from the Marketplace, HTTPS on your domain or on the VPS's free subdomain, administrator account created for you.","Install Weblate","\u002Fapplications\u002Fdevelopment\u002Fweblate",[119,137,156],{"id":120,"slug":121,"slugs":122,"title":126,"excerpt":127,"readTime":23,"views":18,"isPinned":19,"noindex":19,"publishedAt":128,"updatedAt":129,"category":130,"categories":131,"featuredImage":30,"bgImage":31,"posterImage":133,"relatedSolution":134},575,"self-host-libretranslate-vps-translation-api",{"fr":123,"en":121,"ar":124,"es":125},"self-host-libretranslate-vps","استضافة-libretranslate-على-vps","autoalojar-libretranslate-vps-api-traduccion","LibreTranslate on a VPS: Your Private Translation API","Install LibreTranslate on a VPS with Docker Compose: an Arabic, French, English and Spanish translation API, mandatory API keys and HTTPS with nginx.","2026-11-11T00:00:00+00:00","2026-11-11T11:38:05+00:00",{"id":23,"name":24,"slug":25,"color":26,"icon":27},[132],{"id":23,"name":24,"slug":25,"color":26,"icon":27},"\u002Fblog\u002Fcovers\u002Fself-host-libretranslate-vps-poster.svg",{"categorySlug":135,"appSlug":136},"artificial-intelligence","libretranslate",{"id":138,"slug":139,"slugs":140,"title":144,"excerpt":145,"readTime":146,"views":147,"isPinned":19,"noindex":19,"publishedAt":148,"updatedAt":149,"category":150,"categories":151,"featuredImage":30,"bgImage":31,"posterImage":153,"relatedSolution":154},74,"host-gitea-on-your-own-vps",{"fr":141,"en":139,"ar":142,"es":143},"heberger-gitea","استضافة-gitea-على-خادم-vps-الخاص-بك","alojar-gitea-en-un-vps","Host Gitea on your own VPS in 2026","Deploy Gitea 1.25 on a VPS with Docker and SSL. Full guide: Gitea Actions CI\u002FCD, Gitea vs Forgejo v16 comparison, daily administration, SSH and HTTPS troubleshooting.",13,1,"2026-04-07T00:00:00+00:00","2026-11-08T16:32:50+00:00",{"id":23,"name":24,"slug":25,"color":26,"icon":27},[152],{"id":23,"name":24,"slug":25,"color":26,"icon":27},"\u002Fblog\u002Fcovers\u002Fheberger-gitea-poster.svg",{"categorySlug":34,"appSlug":155},"gitea",{"id":157,"slug":158,"slugs":159,"title":163,"excerpt":164,"readTime":165,"views":166,"isPinned":19,"noindex":19,"publishedAt":167,"updatedAt":168,"category":169,"categories":170,"featuredImage":30,"bgImage":31,"posterImage":172,"relatedSolution":30},75,"host-forgejo-on-your-own-vps",{"fr":160,"en":158,"ar":161,"es":162},"heberger-forgejo","استضافة-forgejo-على-خادم-vps-الخاص-بك","alojar-forgejo-en-un-vps","Self-Host Forgejo on Your VPS: Complete 2025 Guide","Deploy Forgejo on your VPS with Docker, SSL, Actions runners and hardened security. Step-by-step guide for a sovereign Git forge.",10,9,"2026-04-06T00:00:00+00:00","2026-11-08T01:13:14+00:00",{"id":23,"name":24,"slug":25,"color":26,"icon":27},[171],{"id":23,"name":24,"slug":25,"color":26,"icon":27},"\u002Fblog\u002Fcovers\u002Fheberger-forgejo-poster.svg",true,1794785358538]