type

LocaleOptions

type LocaleOptions struct { Locale schema.LocaleCode FallbackLocales []schema.LocaleCode DisableFallback bool AllLocales bool }

Locale selection for one single-document Local API operation.

Source core/local.go:102

Localeschema.LocaleCode
Content locale; empty selects the application default.
FallbackLocales[]schema.LocaleCode
Replace the configured fallback chain when non-nil.
DisableFallbackbool
Require an exact value in Locale.
AllLocalesbool
Return locale-keyed values for localized fields.

The root package re-exports this type as ridu.LocaleOptions. When a variadic method receives more than one value, the last one is used.