public setDirectory (mixed $directory)
Sets the path for a domain
// Set the directory path $gettext->setDirectory('/path/to/the/messages'); // Set the domains and directories path $gettext->setDirectory([ 'messages' => '/path/to/the/messages', 'another' => '/path/to/the/another' ]);
Please login to continue.