package locales

import (
	"context"
)

// @microgen grpc
// @protobuf git.perx.ru/perxis/perxis-go/proto/locales
// @grpc-addr content.locales.Locales
type Locales interface {
	Create(ctx context.Context, locale *Locale) (created *Locale, err error)
	List(ctx context.Context, spaceId string) (locales []*Locale, err error)
	Delete(ctx context.Context, spaceId, localeId string) (err error)
}