Skip to main content

catalog

Return the current active catalog for further processing. This can be used if you need to modify the catalog or want to access the whole message catalog instead of just translating one string.

def catalog() - > Translations

Return the current active catalog for further processing. This can be used if you need to modify the catalog or want to access the whole message catalog instead of just translating one string.

Returns

TypeDescription
TranslationsThe currently active translation object or the default translation based on the system language code.