note 20978 deleted from ref.gettext by alindeman

From: Date: Wed, 24 Apr 2002 12:26:01 +0000
Subject: note 20978 deleted from ref.gettext by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-29754@lists.php.net to get a copy of this message
Gettext has to be the coolest thing since sliced bread. I have no problems getting this to work with basic strings e.g. echo gettext("Hello World") but don't know how to properly use gettext under the following string examples: 1) Text with variables: How to "gettext" the string "Hello $world" 2) Text with globals: How to "gettext" the string "Hello $world ".GLOBAL_WHERE." are you?" 3) Text with functions: How to gettext the string "Hello ".get_world($world)." how's it going?" Having the answer to this question at php.net would really help as trying to find examples elsewhere is not working.

« previous php.notes (#29754) next »