PHP Using Sprintf()-Style Message Catalog – String Function

<?php
$LANG = 'es_US';
print sprintf(msg('I am X years old.'),12);
?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.