localize

package
v1.0.56 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClassificationSelectOptions added in v1.0.56

func ClassificationSelectOptions(loc *gotext.Locale, vals []string) []form.Option

func LanguageName added in v1.0.42

func LanguageName(code string) string

TODO memoize this

func LanguageNames

func LanguageNames(codes []string) []string

func LanguageSelectOptions

func LanguageSelectOptions() []form.Option

func ResearchFieldOptions added in v1.0.56

func ResearchFieldOptions(loc *gotext.Locale) []form.Option

func ValidationErrorAt

func ValidationErrorAt(loc *gotext.Locale, errs *okay.Errors, key string) string

func ValidationErrors

func ValidationErrors(loc *gotext.Locale, errs *okay.Errors) []string

func VocabularySelectOptions

func VocabularySelectOptions(loc *gotext.Locale, key string) []form.Option

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL