Method Locale.Gettext.gettext()
- Method
gettext
stringgettext(stringmsg)
stringgettext(stringmsg,stringdomain)
stringgettext(stringmsg,stringdomain,intcategory)- Parameter
msg Message to be translated.
- Parameter
domain Domain from within the message should be translated. Defaults to the current domain.
- Parameter
category Category from which the translation should be taken. Defaults to Locale.Gettext.LC_MESSAGES.
Return a translated version of
msgwithin the context of the specifieddomainand current locale. If there is no translation available,msgis returned.- See also