Dictionaries Type

DictionaryCreateInfo

Attributes:

name: str
Name of the dictionary.
slug: str
Unique identifier slug for the dictionary.
fallback: str
First dictionary language E.g “en-US”

DictionaryLanguage

Attributes:

code: str
Language code E.g “en-US”
active: bool
Indicates if the language is active.

DictionaryInfo(DictionaryCreateInfo)

Attributes:

Unique identifier for the dictionary.
languages: List[DictionaryLanguage]
List of languages supported by the dictionary.
created_at: datetime
Date and time when the dictionary was created.
updated_at: datetime
Date and time when the dictionary was last updated.

LanguageData

Attributes:

Dict[str, str]
Dictionary of key-value pairs for translations.

LanguageEditData

Attributes:

dictionary: LanguageData
The dictionary containing the translations.
active: bool
Indicates if the language is active.

LanguageInfoQuery

Attributes:

fallback: Optional[bool]
Whether to return fallback language data if requested language is not found.

DictionaryQuery(Query)

Attributes:

fields: Optional[Literal[“name”, “slug”, “languages”, “fallback”, “created_at”, “updated_at”]]
List of fields to include in the query results.
Filter criteria for the query.