> I would like to know how add variable within gettext and translate it > correctly
// i18n: %s is some variable echo sprintf(_("%s test"),$variable); // i18n: %d sets number of squirrels echo sprintf(ngettext("%d squirrel on the tree.","%d squirrels on the tree.",abs($i)),$i); -- Tomas -- PHP Unicode & I18N Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php