i18n

package
v3.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(localeDir, domain, language string)

Init initializes gettext with domain and language

func SetGettextLanguage

func SetGettextLanguage(language string)

SetGettextLanguage sets language ("uk", "ru") for gettext translates

func T

func T(message string) string

T translates message and returns translated string

Types

This section is empty.

Jump to

Keyboard shortcuts

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