type
LocalizationSettings
Deterministic content-locale configuration.
Properties
| Property | Type | Description |
|---|---|---|
Locales | []Locale | The Locales value. |
DefaultLocale | LocaleCode | The DefaultLocale value. |
Fallback | bool | The Fallback value. |
How it works
LocaleCodes returns locale identities in authoring order. Executable per-request availability rules remain in Go and are not serialized.
Full signature
type LocalizationSettings struct {
Locales []Locale `json:"locales"`
DefaultLocale LocaleCode `json:"defaultLocale"`
Fallback bool `json:"fallback"`
}Methods
LocalizationSettings.LocaleCodes()LocaleCodes returns configured locale identities in deterministic authoring order.