pike.hubbe.net

[Top]
Gettext
previousGettext.bindtextdomain() Gettext.dgettext()next

Method Gettext.dcgettext()


Method dcgettext

string Gettext.dcgettext(string domain, object stringmsg, object intcategory)

Description

Return a translated version of msg within the context of the specified domain and current locale for the specified category. Calling dcgettext with category Locale.Gettext.LC_MESSAGES gives the same result as dgettext.

If there is not translation available, msg is returned.

Parameter domain

The domain to lookup the message in.

Parameter domain
Parameter msg

The message to translate.

Parameter domain
Parameter msg
Parameter category

The category which locale should be used.

See also

Gettext.bindtextdomain, Gettext.textdomain, Gettext.gettext, Gettext.dgettext, Gettext.setlocale, Gettext.localeconv


Extracted from Pike v7.3 release 11 at 2001-11-03.