i18n

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package i18n holds the few sentences lfr itself writes to readers, in English and German. Lists choose their language; anything else falls back to English.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Keys added in v0.2.2

func Keys() []string

Keys returns the complete, stable reader text vocabulary.

func Supported

func Supported(lang string) bool

Supported reports whether lang has its own texts.

func T

func T(lang, key string) string

T returns the text for key in lang, falling back to English.

func Validate added in v0.2.2

func Validate(key, value string) error

Validate checks an override without changing state; an empty value resets it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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