Home > PHP > Function > Gettext > bindtextdomain()

bindtextdomain()

bindtextdomain - Sets the path for a domain

Syntax

string bindtextdomain (string $domain, string $directory)

Arguments

  • domain - The domain
  • directory - The directory path

Description

The bindtextdomain() function sets the path for a domain.

Version

PHP 4, 5

Return value

The full pathname for the domain currently being set.