Blob Blame History Raw
package osbuild2

// The LocaleStageOptions describes the image's locale.
// A locale is typically specified as language_[territory], where language
// is specified in ISO 639 and territory in ISO 3166.
type LocaleStageOptions struct {
	Language string `json:"language"`

func (LocaleStageOptions) isStageOptions() {}

// NewLocaleStage creates a new Locale Stage object.
func NewLocaleStage(options *LocaleStageOptions) *Stage {
	return &Stage{
		Type:    "org.osbuild.locale",
		Options: options,