i18n

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidTag

func IsValidTag(tag string) bool

func NormalizeTag

func NormalizeTag(tag string) string

func SplitLeadingLang

func SplitLeadingLang(rel string, defaultLang string) (lang, relDocPath string, isDefault bool)

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func New

func New() *Manager

func (*Manager) Add

func (m *Manager) Add(lang string, key string, value string)

func (*Manager) T

func (m *Manager) T(lang, key string) string

Jump to

Keyboard shortcuts

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