Documentation
¶
Overview ¶
Package i18n provides immutable, bounded message catalogs and deterministic HTTP language negotiation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Catalog ¶
type Catalog struct {
// contains filtered or unexported fields
}
Catalog is an immutable set of locale-keyed messages.
func ParseProperties ¶
ParseProperties parses strict UTF-8 key=value .properties catalogs matched by pattern. The base filename is the default catalog; suffixed files such as messages_de.properties provide locale overrides.
Click to show internal directories.
Click to hide internal directories.