Tags Archives

You are currently viewing all posts tagged with il8n.

For those who use and like gettext for localization.

This is a snippet to have a simpler and more powerful way to access it over PHP default.

It automatically uses sprintf when needed, and you don’t have to write a big ass line for a simple plural translation.

Code is also in the Gist