title: Smarty : translate "date|niceTime" result
body: <p>I use smart and i use this code now , and it works as well as possible ..</p>
  
  <pre><code>date|niceTime
  </code></pre>
  
  <p>but the problem that i want translate this code results .. 
  outpot example : 5 days ago 
  outpot example after translation : depuis 5 jours </p>