method
LocalAPI.CopyGlobalLocale
func (local *LocalAPI) CopyGlobalLocale(
ctx context.Context,
slug string,
source,
target schema.LocaleCode,
expectedRevision int,
actor *store.Document,
) (store.Document, error)Copy every localized singleton field from one locale to another.
Related types
LocalAPIIn-process content operations that share the REST authorization and lifecycle pipeline.
LocaleCodeA validated locale identity used by operations, manifests, and storage.
DocumentA stored document with status and version metadata.