On this page
fyne.Locale
import "fyne.io/fyne/v2"Usage
type Locale
type Locale stringLocale represents a user’s locale (language, region and script)
Since:
2.5func (Locale) LanguageString
func (l Locale) LanguageString() stringLanguageString returns a version of the local without the script portion. For example “en” or “fr-FR”.
func (Locale) String
func (l Locale) String() stringString returns the complete locale as a standard string.