1.7 KiB
1.7 KiB
br Glossary
Sources
Do Not Translate (Locale Additions)
OpenCode(preserve casing in prose; keepopencodeonly in commands, package names, paths, or code)OpenCode CLICLI,TUI,MCP,OAuth- Locale code
brin repo config, code, and paths (repo alias for Brazilian Portuguese)
Preferred Terms
These are PR-backed locale naming preferences and may evolve.
| English / Context | Preferred | Notes |
|---|---|---|
| Brazilian Portuguese (prose locale name) | pt-BR |
Use standard locale naming in prose when helpful |
| Repo locale slug (code/config) | br |
PR #10086 uses br for consistency/simplicity |
| Browser locale detection | pt, pt-br, pt-BR -> br |
Preserve this mapping in docs/examples about locale detection |
Guidance
- This file covers Brazilian Portuguese (
pt-BR), but the repo locale code isbr - Use natural Brazilian Portuguese phrasing over literal translation
- Preserve technical artifacts exactly: commands, flags, code, URLs, model IDs, and file paths
- Keep repo locale identifiers as implemented in code/config (
br) even when prose mentionspt-BR
Avoid
- Avoid changing repo locale code references from
brtopt-brin code snippets, paths, or config examples - Avoid mixing Portuguese variants when a Brazilian Portuguese form is established