locale

package
v0.0.0-rc7 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Localize

func Localize(localizer *i18n.Localizer, tag string) string

func LocalizeWithArgs

func LocalizeWithArgs(localizer *i18n.Localizer, tag string, args interface{}) string

func MustLoadLocales

func MustLoadLocales(cfg *Config) *i18n.Bundle

Types

type Config

type Config struct {
	Path     string
	Language string
}

Jump to

Keyboard shortcuts

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