localization

package
v0.0.0-...-6d47440 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LangBundles = make(map[string]*fluent.Bundle)
)

Functions

func Get

func Get(update interface{}) func(string, ...map[string]interface{}) string

func GetChatLanguage

func GetChatLanguage(chat telego.Chat) (string, error)

func HumanizeTimeSince

func HumanizeTimeSince(duration time.Duration, update telego.Update) string

func LoadLanguages

func LoadLanguages() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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