---
title: Deploy Weblate with AI on Blossom
url: "/deploy/weblate/"
canonical_url: https://blossom88.com/deploy/weblate/
markdown_url: https://blossom88.com/deploy/weblate.md
summary: Edit a Spanish translation in Weblate and retrieve the resulting Git commit.
categories:
- deployment
- development
- localization
stack:
- Python
- Django
- PostgreSQL
- Redis
- Git
---

# Deploy Weblate with AI on Blossom

[Weblate](https://weblate.org/) gives translators a web editor for
locale files in Git. Try the workflow on one checkout label before
connecting a repository you use in production.

## Ask Your Agent

> **Ask your AI agent:** Deploy Weblate privately on Blossom and help me commit a Spanish checkout translation to Git.
>
> Follow this guide: https://blossom88.com/deploy/weblate/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and [choose a Location in your cloud account](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#connect-your-provider).

## How It Runs

| Part | Role | Where |
|---|---|---|
| Weblate | Serve the editor and run background jobs | Persistent Service |
| PostgreSQL and Redis | Store translation records and support background jobs | Blossom Managed Data |
| Volume | Keep the Git repositories and Weblate settings | Blossom Persistent Capacity |

## Deploy Weblate

Run self-hosted Weblate
([GPL-3.0-or-later](https://docs.weblate.org/en/latest/contributing/license.html))
behind Blossom Account access. Use a [Persistent Service](/docs/apps/persistent-services/),
managed PostgreSQL, and Redis. Keep registration closed while you set up
the first administrator.

<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

Use the [official Docker image](https://docs.weblate.org/en/latest/admin/install/docker.html)
with one Container and a Volume at `/app/data`. Set Weblate’s site domain
from the Service URL and configure
`WEBLATE_SECURE_PROXY_SSL_HEADER=HTTP_X_FORWARDED_PROTO,https` so Weblate
recognizes HTTPS while Blossom terminates TLS.
Use the linked private PostgreSQL and Redis connections. Initialize the
administrator with a private runtime secret and carry it into the creation
command without exposing it in arguments or logs. Keep the Django signing
key and Git repositories on the Volume.

</details>

<details class="optional-reading" markdown="1">
<summary>Commands your agent runs</summary>

    blossom app_plan:preview --data weblate-plan.yml
    blossom database_instance:create --data postgres.yml
    blossom cache_instance:create --data redis.yml
    blossom environment_link:create --data postgres-link.yml
    blossom environment_link:create --data redis-link.yml
    blossom service:create --data weblate.yml
    blossom env_var:push --environment environment-100 --file runtime.env
    blossom environment:deploy --id environment-100 --follow

</details>

## Commit a Checkout Translation

Create a private project and add a component with no remote repository.
Import English and Spanish JSON files, then update the Spanish checkout
label to **Continuar al pago**. Commit pending changes from the component’s
repository controls.

![Edit a Spanish checkout label alongside the English text.](/deploy/assets/images/weblate/weblate-translation-editor.webp)

> **Ask your AI agent:** Help me upload sample English and Spanish JSON files to Weblate, translate the checkout label, and commit it.

> Follow this guide: https://blossom88.com/deploy/weblate/



## Check the Git Commit After an Update

Clone the component’s [Git export](https://docs.weblate.org/en/latest/admin/optionals.html#git-exporter)
with your authorized Weblate credentials. Open the Spanish JSON file and
check the label. After replacing the Container, clone again and confirm
the commit ID and translated text match.

![Reopen the Spanish checkout translation after replacing the app.](/deploy/assets/images/weblate/weblate-spanish-checkout.webp)

> **Ask your AI agent:** Replace the Weblate Container and make sure the Spanish checkout label and its Git commit are still there.

> Follow this guide: https://blossom88.com/deploy/weblate/



## What You Get

- A private place for your team to edit translations
- A bilingual checkout label saved as JSON
- A Git commit you can pull into your app

Tested on Blossom: After replacing the Container, Weblate still showed the Spanish label. A fresh clone returned the same Git commit and JSON file.
