helper

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLocale

func AddLocale(langName string, customTranslation *lang.CustomTranslation, validationTranslation *lang.ValidationTranslation)

func CustomTranslate

func CustomTranslate(messageID string, data map[string]interface{}, langName string) string

func Locale

func Locale(c lang.Context) string

func SetLocale

func SetLocale(c lang.Context, langName string)

func ValidationTranslate

func ValidationTranslate(v *validator.Validate, langName string, e validator.ValidationErrors) lang.ValidationError

Types

This section is empty.

Jump to

Keyboard shortcuts

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