note 24088 deleted from function.gettext by nlopess

From: Date: Thu, 25 Mar 2004 14:43:56 +0000
Subject: note 24088 deleted from function.gettext by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-67163@lists.php.net to get a copy of this message
Note Submitter: avel at noc uoa gr ---- 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").

« previous php.notes (#67163) next »