Skip to main content

gettext_noop

Mark strings for translation but don't translate them now. This can be used to store strings in global variables that should stay in the base language (because they might be used externally) and will be translated later.

def gettext_noop(
message: string
) - > string

Mark strings for translation but don't translate them now. This can be used to store strings in global variables that should stay in the base language (because they might be used externally) and will be translated later.

Parameters

NameTypeDescription
messagestringThe source text string to be marked for future translation extraction.

Returns

TypeDescription
stringThe original message string, returned without any translation applied.