Skip to main content

gettext

No overview available.

def gettext(
message: string
) - > string

Translates a message string into the current language using the active translation catalog.

Parameters

NameTypeDescription
messagestringThe source text string to be translated.

Returns

TypeDescription
stringThe translated version of the message string, or the original message if no translation is found.