Posted by Ivαn Sαnchez Ortega on 11/13/98 11:29
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
alex wrote:
> I've seen some pre-coded php apps using this kind of code :
>
> echo __('Hello') ;
>
> This displays the Hello message in the correct language.
> I can't get how it works and no doc over the web about that !
There is documentation, you just have to look for it:
http://php.net/manual/en/function.gettext.php
As you'll see there, the _() function is an alias of gettext().
- --
- ----------------------------------
IvΓ‘n SΓ‘nchez Ortega -i-punto-sanchez--arroba-mirame-punto-net
Enemies of truth: Convictions are more dangerous enemies of truth than lies.
-- Friedrich Nietzsche [1844 - 1900]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDUQS63jcQ2mg3Pc8RAmC4AKCHIbntzSPx+T8CeRW5H5dKMhgTEgCeOdrl
qeEYqdd0fgfs7INFmPjVojU=
=b1se
-----END PGP SIGNATURE-----
Navigation:
[Reply to this message]
|