language

package
v3.1.0-beta.21 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package language provides language functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	GetBundle() *i18n.Bundle
	GetMatcher() language.Matcher
	GetTags() []language.Tag
}

Manager defines the interface for managing language bundles and matching.

func NewManager

func NewManager(cfg config.File, _ *slog.Logger) (Manager, error)

NewManager creates a new Manager instance and loads the language bundles.

Jump to

Keyboard shortcuts

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