Skip to main content

gettext_noop

Marks a string for translation without translating it immediately.

def gettext_noop(
s: string
) - > string

Marks a string for translation without translating it immediately, allowing it to be extracted by translation tools while remaining as a literal string at runtime.

Parameters

NameTypeDescription
sstringThe literal string to be marked for future translation.

Returns

TypeDescription
stringThe original, untranslated string passed as the input.