rebase localization onto latest main

Agent-Logs-Url: https://github.com/wasi-master/13ft/sessions/85227ed8-0556-4ae4-a47b-92bfed6cfe67

Co-authored-by: wasi-master <63045920+wasi-master@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-05-11 18:48:53 +00:00
committed by GitHub
co-authored by wasi-master
parent 6e50c9c182
commit 1cefe387ab
6 changed files with 55 additions and 25 deletions
+3 -3
View File
@@ -168,7 +168,7 @@ WantedBy=multi-user.target
## Localisation
The UI strings can be localised by setting the `LOCALE` environment variable before starting the app. Locale files live in `/home/runner/work/13ft/13ft/app/locales/<locale>.json`.
The UI strings can be localised by setting the `LOCALE` environment variable before starting the app. Locale files live in `app/locales/<locale>.json`.
Built-in locales:
@@ -179,14 +179,14 @@ Built-in locales:
Examples:
```sh
# from /home/runner/work/13ft/13ft/app
# from app
LOCALE=de python portable.py
# or with gunicorn
LOCALE=fr python -m gunicorn 'portable:app'
```
To add a new locale, copy `/home/runner/work/13ft/13ft/app/locales/en.json` to a new file such as `/home/runner/work/13ft/13ft/app/locales/es.json` and translate the values.
To add a new locale, copy `app/locales/en.json` to a new file such as `app/locales/es.json` and translate the values.
## Screenshots