title: Gettext placeholders
body: <p>I am building a multilingual application in PHP + CodeIgniter. I have settled upon using gettext for UI text translation, and so far it has proven efficient and easy to work with.</p>
  
  <p>But now I am facing something really annoying: the <code>gettext()</code> function only accepts one parametre, while I'd like a printf-like behaviour that I get from Zend Framework's gettext adapter, where I can use <code>%1$s</code>, <code>%2$s</code> etc. as placeholders and then specify the replacement strings as additional parametres to Zend view's <code>translate()</code> function.</p>
  
  <p>I do not wish to ditch gettext due to the easy translation management with .po files and poEdit (I can get it updated with a single click, after all). What are my options?</p>
  
  <p>I have already tried writing a helper to interact with gettext: run the first argument through gettext and then run strtr on the resulting string. Are there any other/better approaches you would recommend?</p>