locales

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: BlueOak-1.0.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Ar = map[string]string{}/* 261 elements not displayed */
View Source
var DeDE = map[string]string{}/* 248 elements not displayed */
View Source
var EnUS = map[string]string{}/* 333 elements not displayed */
View Source
var (
	Locales map[string]map[string]string
)
View Source
var PlPL = map[string]string{}/* 195 elements not displayed */
View Source
var PtBr = map[string]string{}/* 196 elements not displayed */
View Source
var ZhCN = map[string]string{}/* 262 elements not displayed */

Functions

func Tokens

func Tokens(tmpl []byte) [][][]byte

Tokens returns a slice of tuples (token, key), where token is just key with triple square brackets, and could also be constructed simply as "[[[" + key + "]]]"". The key is the lookup key for the Locales map. The token is what must be replaced in the raw template.

Types

This section is empty.

Jump to

Keyboard shortcuts

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