title: Rails - Creating a custom ERB tag for i18n
body: <p>Since I write so often this in Rails...</p>
  
  <pre><code>&lt;%= t 'whatever' %&gt;
  </code></pre>
  
  <p>I was wondering: Is it possible to create a custom tag to make it even shorter? Something like...</p>
  
  <pre><code>&lt;%t 'whatever' %&gt;
  </code></pre>
  
  <p>It would be fun if I could create my custom tags and make them output anything based on its content.</p>
  
  <p>How would such a thing be doable?</p>
  
  <p>PS: I realize that I am just saving just 1 character. As I said it is for fun. And besides, if creating custom tags is not too complicated, it could have even more applications.</p>