# Method Locale.Gettext.dgettext()

Method dgettext

  ``string` dgettext(`string` `domain`, `string` `msg`)`

Description

  Return a translated version of `msg` within the context of the specified `domain` and current locale. If there is no translation available, `msg` is returned.

Deprecated

  Replaced by gettext.

  Obsoleted by gettext() in Pike 7.3.

See also

  bindtextdomain, textdomain, gettext, setlocale, localeconv