From: Jeff D. <da...@da...> - 2001-12-19 01:09:33
|
Carsten Klapp said: > 1. Variable reordering. That's a problem. PHP doesn't seem to support the printf argument reordering... I'll see if I can think of a work-around. > 2. Strings in the html template don't seem to substitute for %s. > I tried: > <?php echo sprintf(_("haystack %s"),_("needle")); ?> That works for me. I just tried it. Also note that 'printf(...);' is equivalent to 'echo sprintf(...);'. |