This commit is contained in:
Matthew Zeng
2026-03-18 23:17:06 -07:00
parent 04808fa86c
commit 7c8b458038
5 changed files with 125 additions and 17 deletions
+4 -2
View File
@@ -32,10 +32,12 @@ Set top-level `locale` in `config.toml` to choose the preferred locale for
localized user-facing strings. For example:
```toml
locale = "zh-CN"
locale = "zh"
```
When unset, Codex falls back to the system locale and then to `en-US`.
Codex resolves locales to canonical locale codes, preferring specific locale
codes first, then generic language codes, and finally `en-US`. For example,
`zh-HK` falls back to `zh` when there is no `zh-HK` resource bundle.
## JSON Schema