-
Notifications
You must be signed in to change notification settings - Fork 0
Documentation
Pearoo edited this page Aug 13, 2024
·
2 revisions
Name | Type | Description |
---|---|---|
localizations | Union[str , dict ] |
If str : relative path to the localization JSON or YAML file. If dict : dictionary containing the localizations. |
default_locale | Optional[str ] |
The default locale to use if a given locale is not found in the localization. |
error | Optional[bool ] |
Whether to raise an error if the localization is not found. If set to False , it will return the key itself. Defaults to False . |