lang

package
v0.0.0-...-03f6f9a Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LOCALE_SNATIVELANGUAGENAME = 0x00000004
)

Variables

This section is empty.

Functions

func GetLocaleDescription

func GetLocaleDescription(lcid LCID) (string, error)

func LCIDToLocaleName

func LCIDToLocaleName(lcid LCID) (string, error)

Types

type LCID

type LCID uint

func GetUserDefaultUILanguage

func GetUserDefaultUILanguage() LCID

func LocaleNameToLCID

func LocaleNameToLCID(localeName string) (LCID, error)

type Language

type Language struct {
	ID          string
	Description string
}

func Init

func Init(lang string) ([]Language, bool)

Jump to

Keyboard shortcuts

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