package
0.14.2
Repository: https://github.com/go-corelibs/x-text.git
Documentation: pkg.go.dev

# Functions

Fallback specifies the default fallback language.
Include specifies additional catalogs to include within this one Include was added by Go-Enjin.
NewBuilder returns an empty mutable Catalog.
NewFromMap creates a Catalog from the given map.
String specifies a plain message string.
Var sets a variable that may be substituted in formatting patterns using named substitution of the form "${name}".

# Variables

ErrNotFound indicates there was no message for the given key.

# Structs

A Builder allows building a Catalog programmatically.
A Context is used for evaluating Messages.

# Interfaces

A Catalog allows lookup of translated messages.
A Dictionary is a source of translations for a single language.

# Type aliases

A Message holds a collection of translations for the same phrase that may vary based on the values of substitution arguments.
An Option configures Catalog behavior.