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

0 Comments to "PHP gettext localization alias with sprintf"

Would you like to share your thoughts?