Langs
LangItem
dataclass
get_lang_map(lang)
Returns a LangItem object for the given language.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
lang |
str
|
The language to get the LangItem for. |
required |
Raises:
Type | Description |
---|---|
ValueError
|
If the language is not supported. |
Returns:
Name | Type | Description |
---|---|---|
LangItem |
LangItem
|
The LangItem object for the given language. |