Documentation
¶
Overview ¶
Package i18n manages the bilingual (Chinese / English) message bundles used by the udf CLI. Library functions wrap user-facing failures in *LocalizedError, which carries a stable key and renders a readable default message in English.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectLanguage ¶
func LocalizeError ¶
Types ¶
type LocalizedError ¶
func (*LocalizedError) Error ¶
func (e *LocalizedError) Error() string
func (*LocalizedError) Unwrap ¶
func (e *LocalizedError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.