Translations
Lore packages support multilingual content. Each language has a dedicated content file.
Adding a Translation
- Create a content file for the new language:
content/<lang-tag>.md - Add the language tag to
translationsinmanifest.yaml
# manifest.yaml
content:
defaultLanguage: en-US
translations:
- en-US
- pt-BR
- es-EScontent/
├── en-US.md ← Default (required)
├── pt-BR.md ← Brazilian Portuguese
└── es-ES.md ← Spanish (Spain)Language Tags
Use IETF BCP 47 language tags. Common examples:
| Tag | Language |
|---|---|
en-US | English (United States) |
pt-BR | Portuguese (Brazil) |
es-ES | Spanish (Spain) |
fr-FR | French (France) |
de-DE | German (Germany) |
ja-JP | Japanese (Japan) |
Fallback Behavior
If a consumer requests a language that isn’t available in the package, the Registry and MCP Server fall back to the defaultLanguage automatically. No errors are returned.