language

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProductLanguageDefault = ""
	ProductLanguageEnglish = "en-US"
	ProductLanguageChinese = "zh-CN"
)

Variables

This section is empty.

Functions

func IsSupportedProductLanguage

func IsSupportedProductLanguage(value string) bool

func NormalizeProductLanguage

func NormalizeProductLanguage(value string) string

NormalizeProductLanguage keeps the stored language identifiers aligned with the frontend i18n values while tolerating common legacy spellings.

Types

This section is empty.

Jump to

Keyboard shortcuts

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