Sunday 05 December 2010 10:04:05 pm - 3 replies
Modified on Sunday 05 December 2010 10:06:53 pm by Paul Etienney
Daisy Radix
Sunday 05 December 2010 11:29:22 pm
Hello,
Check the file kernel/common/ezpi18n.php ( tr function) :)
eZ Publish certified developper :http://auth.ez.no/certification/verify/378142
Paul Etienney
Friday 24 December 2010 8:58:02 am
Shame on me ! It was soooooooo easy !
If you want to user the i18n operator in php module just do this :
eZTranslateText( 'contextName', 'text to translate');
And that's it !
Merry Christmas.
-- Good websites creation -- My site : http://www.pauletienney.com Twitter : http://www.twitter.com/p_etienney
Nicolas Pastorino
Friday 24 December 2010 11:16:26 am
Shame on me ! It was soooooooo easy !If you want to user the i18n operator in php module just do this : eZTranslateText( 'contextName', 'text to translate');And that's it ! Merry Christmas.
Merry Christmas to you too !
But...i could not get a hold on this eZTranslateText function (4.4) :)
I usually use the following :
ezpI18n::tr( $context, $source, $comment = null, $arguments = null )
Cheers !
-- Nicolas Pastorino Director Community - eZ Member of the Community Project Board eZ Publish Community on twitter: http://twitter.com/ezcommunity t : http://twitter.com/jeanvoye G+ : http://plus.tl/jeanvoye
You must be logged in to post messages in this topic!