Documentation ¶
Overview ¶
Package i18n implements a gettext based translation library with XLiff support
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateXliff ¶
Types ¶
type Alphabetically ¶
type Alphabetically []TransUnit
func (Alphabetically) Len ¶
func (a Alphabetically) Len() int
func (Alphabetically) Less ¶
func (a Alphabetically) Less(i, j int) bool
func (Alphabetically) Swap ¶
func (a Alphabetically) Swap(i, j int)
type Body ¶
type Body struct {
TransList []TransUnit `xml:"trans-unit"`
}
func (*Body) SortAlphabetically ¶
func (b *Body) SortAlphabetically()
type LanguagesCatalog ¶
func LoadCatalogs ¶
func LoadCatalogs(translationsPath string, parser Parser) LanguagesCatalog
Click to show internal directories.
Click to hide internal directories.