Language
Inline language metadata for the presentation. Use 'id' to reference a languages catalog record and override selected fields, or use 'bcp47' for a custom language tag without a catalog record.
Metadata
#/$defs/Language
object | object
spec/schemas/opf.schema.json
Fields
| Field | Type | Req | Description |
|---|---|---|---|
| id | string | — | Optional languages catalog id to resolve before applying inline overrides. |
| name | string | — | Human-readable language name. |
| bcp47 | string | — | BCP-47 language tag used for locale-aware rendering, proofing, and accessibility metadata. Use 'en-GB' for UK English; 'en-UK' is not a valid BCP-47 region form. |
| code | string | — | ISO 639-3 or 639-2 language code carried for engines that prefer ISO codes. |
| direction | enum | — | Base text direction for the language. |
| script | string | — | ISO 15924 script code when the writing system should be explicit. |
| fontScheme | string | — | Default font-scheme id for this language when targeting PowerPoint output. |
| googleFontScheme | string | — | Default font-scheme id for this language when targeting Google Slides output. |
| summary | string | — | One-sentence note about coverage or font defaults. |
| description | string | — | Longer prose describing the language record and any font-pairing rationale. |
| tags | array<string> | — | Free-form labels for filtering and search. |
id
Type: string · Optional · Default: — · Pattern: ^[a-z][a-z0-9-]*$
Optional languages catalog id to resolve before applying inline overrides.
{
"id": "english"
}name
Type: string · Optional · Default: —
Human-readable language name.
{
"name": "English"
}bcp47
Type: string · Optional · Default: —
BCP-47 language tag used for locale-aware rendering, proofing, and accessibility metadata. Use 'en-GB' for UK English; 'en-UK' is not a valid BCP-47 region form.
{
"bcp47": "en"
}code
Type: string · Optional · Default: —
ISO 639-3 or 639-2 language code carried for engines that prefer ISO codes.
{
"code": "ENG"
}direction
Type: enum · Optional · Default: —
Base text direction for the language.
{
"direction": "ltr"
}script
Type: string · Optional · Default: —
ISO 15924 script code when the writing system should be explicit.
{
"script": "Latn"
}fontScheme
Type: string · Optional · Default: —
Default font-scheme id for this language when targeting PowerPoint output.
{
"fontScheme": "fontScheme-value"
}googleFontScheme
Type: string · Optional · Default: —
Default font-scheme id for this language when targeting Google Slides output.
{
"googleFontScheme": "googleFontScheme-value"
}summary
Type: string · Optional · Default: —
One-sentence note about coverage or font defaults.
{
"summary": "summary-value"
}description
Type: string · Optional · Default: —
Longer prose describing the language record and any font-pairing rationale.
{
"description": "description-value"
}