Using a sprintf()-style message catalog
<?php $LANG = 'es_US'; print sprintf(msg('I am X years old.'),12); ?>