i18n

package
v0.0.0-...-9e584df Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TEXTDOMAIN = "snappy"
)

TEXTDOMAIN is the message domain used by snappy; see dgettext(3) for more information.

Functions

func CurrentLocale

func CurrentLocale() string

CurrentLocale returns the current locale without encoding or variants.

func G

func G(msgid string) string

G is the shorthand for Gettext

func NG

func NG(msgid string, msgidPlural string, n int) string

NG is the shorthand for NGettext

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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