Files
openchamber/packages/docs/content/docs/fr/environment.mdx
T
Pascal AndréandBohdan Triapitsyn 49a1424e5f feat: add complete French localization (#1482)
* feat: add French locale runtime

Add French to OpenChamber's shared i18n runtime, dictionaries, and parity tests so the existing language picker can load a complete fr locale across shared UI surfaces.

* fix: localize shared UI formatting

Remove remaining shared UI locale hardcodings so dates, numbers, and first-party helper copy follow the active app locale instead of leaking English on French surfaces.

* feat: localize VS Code French surfaces

Localize VS Code bootstrap, native runtime messages, panel titles, and manifest contribution strings so French users get consistent first-party copy across the extension experience.

* fix: TASK-2026-05-30-008 correct French review findings

Fix broken French relative-time and weekday strings reported on PR #1482 and restore proper import order in quota utils without broadening scope.

* fix: TASK-2026-05-30-008 address final PR review comments

Capture the localized More Info label once in the VS Code CLI-missing flow and replace the remaining inline French-only utility strings with dictionary-driven copy plus required locale keys.

* fix: TASK-2026-05-30-008 normalize French glossary

Correct glossary-level French terminology on the live PR branch, keeping canonical technical terms like PR, worktree, stash, HEAD, Mermaid, Markdown, remote, and session while replacing misleading literal translations.

* fix: TASK-2026-05-30-008 refine French terminology pass

Clean up remaining glossary mistakes on the French PR branch, especially around Mermaid, Markdown, PR, worktree, stash, branch, remote, and commit terminology, while keeping behavior unchanged.

* fix: TASK-2026-05-30-008 clean remaining French false friends

Correct the SOCKS5 mistranslation and a final small set of obvious false-friend technical nouns on the French branch without changing behavior.

* fix: TASK-2026-05-30-008 correct French glossary terms

Replace remaining false-friend translations in the French UI dictionaries and normalize technical labels for the French PR branch.

* fix: TASK-2026-05-30-008 remove remaining French Mermaid false friend

Replace the last confirmed Sirène translation with Mermaid and re-run the requested blacklist and build verification on the PR branch.

* fix: TASK-2026-05-30-008 enforce French glossary policy

Keep skill/PR/worktree/remote terminology developer-credible in French and remove remaining machine-translated Git and settings copy.

* fix: TASK-2026-05-30-008 keep prompt terminology in French

Replace remaining technical invite translations with prompt wording across scheduled tasks, multi-run, prompt templates, and Magic Prompts.

* fix: TASK-2026-05-30-008 finalize French terminology cleanup

Polish remaining worktree/remote wording, remove visible metadata leakage, and correct final Git and settings labels on the French PR branch.

* fix: TASK-2026-05-30-008 polish final French strings

Correct the last aria-like artifacts and awkward worktree/remote/GitHub URL phrasing in the French dictionaries.

* fix: TASK-2026-05-30-008 normalize final French glossary framing

Tighten the last worktree/remote/checkout wording and fix remaining French grammar around canonical technical terms.

* fix: TASK-2026-05-30-008 align final developer glossary wording

Normalize the last French framing around canonical developer terms like worktree, remote, prompt, and checkout.

* fix: TASK-2026-05-30-008 harmonize final French sentence framing

Replace the last raw franglais around checkout, remote, worktree, and prompt-facing labels with more natural French framing while keeping the chosen technical terms.

* fix: TASK-2026-05-30-008 add compact relative date keys

Replace French-specific prefix stripping in compact session date labels with dedicated i18n keys across locale dictionaries, preserving existing compact label output while making French wording robust.

* docs: add French documentation

* docs: mention French locale folder

---------

Co-authored-by: Bohdan Triapitsyn <artmore@protonmail.com>
2026-06-10 20:19:30 +03:00

139 lines
4.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Variables denvironnement
description: Configurez OpenChamber et lintégration OpenCode avec des variables denvironnement.
---
# Variables denvironnement
OpenChamber lit ces variables denvironnement au démarrage. Pour les services de démarrage, `openchamber startup enable` capture lenvironnement actuel par défaut ; relancez donc la commande après avoir changé les variables que le service doit utiliser.
## Serveur OpenChamber
### `OPENCHAMBER_HOST`
Adresse d’écoute du serveur web OpenChamber. Utilisez `0.0.0.0` pour autoriser laccès depuis dautres machines.
### `OPENCHAMBER_UI_PASSWORD`
Mot de passe pour lUI navigateur. Utilisez-le lorsque vous écoutez hors de localhost, utilisez des tunnels ou passez derrière un reverse proxy.
### `OPENCHAMBER_API_ONLY`
Démarre OpenChamber en mode headless lorsquil vaut `true` ou `1`. Les routes API restent disponibles pour les clients desktop et mobile, mais lUI navigateur nest pas servie.
### `OPENCHAMBER_DATA_DIR`
Remplace le dossier de données OpenChamber. La valeur par défaut est `~/.config/openchamber`.
### `OPENCHAMBER_COMPRESS_API`
Contrôle la compression des réponses API. Utilisez `true` ou `1` pour la forcer, `false` ou `0` pour la désactiver.
### `OPENCHAMBER_SKIP_API_COMPRESSION`
Désactive la compression des réponses API lorsquil vaut `true` ou `1`. Cette variable a priorité sur `OPENCHAMBER_COMPRESS_API`.
### `OPENCHAMBER_VERBOSE_REQUEST_LOGS`
Active les logs HTTP détaillés lorsquil vaut `true` ou `1`.
### `OPENCHAMBER_UPDATE_API_URL`
Remplace lendpoint API de vérification des mises à jour. La plupart des utilisateurs doivent laisser cette variable non définie.
### `OPENCHAMBER_PACKAGE_MANAGER`
Force le gestionnaire de paquets utilisé par les opérations de mise à jour lorsque lauto-détection se trompe.
## Serveur OpenCode
### `OPENCODE_HOST`
Connecte OpenChamber à un serveur OpenCode existant. La valeur doit être une origine `http` ou `https` avec un port explicite, sans chemin, query ni hash. `OPENCODE_HOST` a priorité sur `OPENCODE_PORT`.
### `OPENCODE_PORT`
Définit le port du serveur OpenCode. Avec OpenCode géré, cela demande le port géré ; avec `OPENCODE_SKIP_START=true`, OpenChamber se connecte à un serveur externe sur ce port.
### `OPENCODE_SKIP_START`
Empêche OpenChamber de démarrer son propre serveur OpenCode lorsquil vaut `true`.
### `OPENCHAMBER_OPENCODE_HOSTNAME`
Nom dhôte d’écoute du serveur OpenCode géré par OpenChamber. La valeur par défaut est `127.0.0.1`.
### `OPENCODE_BINARY`
Chemin vers lexécutable `opencode` quOpenChamber doit lancer.
### `OPENCODE_CONFIG`
Chemin vers un fichier de configuration OpenCode précis.
### `OPENCODE_CONFIG_DIR`
Chemin vers un dossier de configuration OpenCode précis pour la découverte des agents, skills, snippets et configurations.
### `OPENCODE_DATA_DIR`
Dossier de données personnalisé pour le serveur OpenCode géré.
### `OPENCODE_WSL_DISTRO`
Sélectionne la distribution WSL utilisée pour lintégration OpenCode sur Windows.
### `OPENCHAMBER_OPENCODE_WSL_DISTRO`
Alias propre à OpenChamber pour sélectionner la distribution WSL. `OPENCODE_WSL_DISTRO` a priorité lorsque les deux sont définies.
### `OPENCODE_JWT_SECRET`
Secret utilisé pour signer les tokens dauthentification UI. Utilisez une longue valeur aléatoire pour les déploiements de service persistants.
## Terminal et Git
### `OPENCHAMBER_TERMINAL_SHELL`
Exécutable shell utilisé pour les sessions de terminal OpenChamber.
### `OPENCHAMBER_GIT_BINARY`
Exécutable Git utilisé par les fonctionnalités Git dOpenChamber.
### `GIT_BINARY`
Autre exécutable Git de remplacement. Préférez `OPENCHAMBER_GIT_BINARY` pour une configuration propre à OpenChamber.
### `OPENCHAMBER_GIT_READ_CACHE_TTL_MS`
Durée de vie, en millisecondes, du cache de lecture des fichiers adossés à Git. Définissez `0` pour désactiver ce cache pendant le débogage.
## Voix et tunnels
### `OPENAI_API_KEY`
Clé API utilisée par les fonctionnalités vocales dOpenChamber qui appellent des services compatibles OpenAI.
### `OPENCHAMBER_ALLOW_REMOTE_OPENAI_COMPAT_URLS`
Autorise les URL de base compatibles OpenAI distantes pour les fonctionnalités vocales lorsquelle vaut `true` ou `1`.
### `NGROK_AUTHTOKEN`
Token dauthentification ngrok utilisé par les commandes de tunnel OpenChamber. Vous pouvez aussi configurer ngrok avec `ngrok config add-authtoken <token>`.
## Helpers runtime
### `BUN_BINARY`
Exécutable Bun quOpenChamber doit utiliser lorsquil lance des processus daemon.
### `BUN_INSTALL`
Racine dinstallation de Bun. OpenChamber lutilise pour trouver `bin/bun` lors du démarrage des daemons et des mises à jour.
### `VITE_OPENCODE_URL`
URL de base API à la compilation pour lapplication web construite par Vite. La plupart des utilisateurs ne doivent pas la définir pour un usage CLI ou desktop normal.