SquirrelMail internal gettext functions

Since 1.5.1 uses php-gettext classes. Original implementation was done by Tyler Akins (fidian)

include_once (SM_PATH.'class/l10n.class.php') (line 21)

Load classes and other functions

include_once (SM_PATH.'functions/ngettext.php') (line 22)
bindtextdomain (line 53)

Alternative php bindtextdomain function

Sets path to directory containing domain translations

string bindtextdomain (string $domain, string $dir)
  • string $domain: gettext domain name
  • string $dir: directory that contains all translations
dgettext (line 95)

Alternative php dgettext function

string dgettext (string $domain, string $str)
  • string $domain: Gettext domain
  • string $str: English string
textdomain (line 75)

Alternative php textdomain function

Sets default domain name. Before 1.5.1 command required bindtextdomain() call for each gettext domain change.

string textdomain ([string $name = false])
  • string $name: gettext domain name
_ (line 33)

Alternative php gettext function (short form)

string _ (string $str)
  • string $str: English string

Documentation generated on Mon, 17 Jun 2019 04:22:35 +0200 by phpDocumentor 1.4.3