plugins: github.com/goadesign/plugins/i18n Index | Files | Directories

package i18n

import "github.com/goadesign/plugins/i18n"

Index

Package Files

generate.go

Constants

const ENVKEY = "GOA_I18N"

ENVKEY is the key used to lookup locales to use when producing translation openapi specs

func Generate Uses

func Generate(genpkg string, roots []eval.Root, files []*codegen.File) ([]*codegen.File, error)

Generate produces additional openapi files for locales configured via the system environment variable GOA_I18N

func Prepare Uses

func Prepare(genpkg string, roots []eval.Root) error

Prepare executes all translations with the default language

Directories

PathSynopsis
dsl
expr

Package i18n imports 9 packages (graph). Updated 2019-09-17. Refresh now. Tools for package owners.