note 24088 added to function.gettext

From: Date: Tue, 06 Aug 2002 14:49:10 +0000
Subject: note 24088 added to function.gettext
Groups: php.notes 
Request: Send a blank email to php-notes+get-34395@lists.php.net to get a copy of this message
This is also mentioned in the notes at the gettext functions main page, but it is too important: _Always_ use double quotes inside gettext() / _(). A single quote will not be parsed by the gettext tools, xgettext, msgmerge et al, so the string will not be localized in the end. Newlines that are normally acceptable inside strings in PHP will also produce an error when using these utilities. So: _("string"). -- http://www.php.net/manual/en/function.gettext.php http://master.php.net/manage/user-notes.php?action=edit+24088 http://master.php.net/manage/user-notes.php?action=delete+24088 http://master.php.net/manage/user-notes.php?action=reject+24088

« previous php.notes (#34395) next »