language

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Selection

type Selection struct {
	Name     string
	Explicit bool
}

Selection is the response language selected from an explicit user request or, by default, the language chosen in the frontend.

func Resolve

func Resolve(locale, prompt string) Selection

Resolve gives explicit instructions priority over the frontend locale.

Jump to

Keyboard shortcuts

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