Tags Archives

You are currently viewing all posts tagged with localization.

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