Documentation ¶
Index ¶
- type LangData
- type Manager
- func (lm *Manager) CapValue() string
- func (lm *Manager) Codes(codes []string) []string
- func (lm *Manager) Count() int
- func (lm *Manager) Default() []string
- func (lm *Manager) Enabled() bool
- func (lm *Manager) Translate(languages []string, originalString string) string
- func (lm *Manager) Translators() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager manages our languages and provides translation abilities.
func NewManager ¶
NewManager returns a new Manager.
func (*Manager) Codes ¶
Codes returns the proper language codes for the given casefolded language codes.
func (*Manager) Translators ¶
Translators returns the languages we have and the translators.
Click to show internal directories.
Click to hide internal directories.