EasyTalk API
Loading...
Searching...
No Matches
EasyTalk.Localization.LocalizableLanguageSet Class Reference

A set of localizable languages. More...

Inherits ScriptableObject.

Public Member Functions

LocalizableLanguage GetLanguage (string languageCodeOrName)
 Finds and returns the LocalizableLanguage matching the specified language name or ISO-639 code, if available in the language set.
 

Properties

List< LocalizableLanguageLanguages [get, set]
 Gets or sets the list of localizable languages.
 

Private Attributes

List< LocalizableLanguagelanguages = new List<LocalizableLanguage>()
 The list of localizable languages.
 

Detailed Description

A set of localizable languages.

Member Function Documentation

◆ GetLanguage()

LocalizableLanguage EasyTalk.Localization.LocalizableLanguageSet.GetLanguage ( string languageCodeOrName)

Finds and returns the LocalizableLanguage matching the specified language name or ISO-639 code, if available in the language set.

Parameters
languageCodeOrNameThe English, native, or alternative name for the language to retrieve, or the ISO-639 code.
Returns
The LocalizableLanguage for the language specified, or null if none exists in the set.

Member Data Documentation

◆ languages

List<LocalizableLanguage> EasyTalk.Localization.LocalizableLanguageSet.languages = new List<LocalizableLanguage>()
private

The list of localizable languages.

Property Documentation

◆ Languages

List<LocalizableLanguage> EasyTalk.Localization.LocalizableLanguageSet.Languages
getset

Gets or sets the list of localizable languages.