kriona wrote in php 😊good

Internationalization

Following rtimmons's advice, I've been trying out gettext() for a few days. It's pretty awesome. I also figured out the dilemna in my last post:

echo vsprintf(gettext("This is a %sstring%s!"), array('<b>','</b>'));

It works pretty well.