title: How does gettext handle dynamic content?
body: <p>In php (or maybe gettext in general), what does gettext do when it sees a variable to dynamic content?</p>
  
  <p>I have 2 cases in mind.</p>
  
  <p>1) Let's say I have <code>&lt;?=$user1?&gt; poked John &lt;?=$user2?&gt;</code>. Maybe in some language the order of the words is different. How does gettext handle that?   (no, I'm not building facebook, that was just an example)</p>
  
  <p>2) Let's say I store some categories in a database. They rarely, but they are store in a database. What would happen if I do <code>&lt;?php echo gettext($data['name']); ?&gt;</code>  ? I would like the translators to translate those category names too, but does it have to be done in the database itself?</p>
  
  <p>Thanks</p>