Dictionaries Type¶
DictionaryCreateInfo¶
Attributes:
name: strName of the dictionary.slug: strUnique identifier slug for the dictionary.fallback: strFirst dictionary language E.g “en-US”
DictionaryLanguage¶
Attributes:
code: strLanguage code E.g “en-US”active: boolIndicates if the language is active.
DictionaryInfo(DictionaryCreateInfo)¶
Attributes:
id: GenericIDUnique identifier for the dictionary.languages: List[DictionaryLanguage]List of languages supported by the dictionary.created_at: datetimeDate and time when the dictionary was created.updated_at: datetimeDate and time when the dictionary was last updated.
LanguageData¶
Attributes:
Dict[str, str]Dictionary of key-value pairs for translations.
LanguageEditData¶
Attributes:
dictionary: LanguageDataThe dictionary containing the translations.active: boolIndicates 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: Optional[DictionaryInfo(DictionaryCreateInfo)]Filter criteria for the query.