darkimmortal/Laravel4-SmartyView — pull request #6 by J5lx (2013-12-27 13:33:34+00:00)
Title: Add support for Laravel's translator

I added a Smarty plugin to support Laravel’s translator. It's base syntax is inspired by smarty3-i18n:

{t}messages.welcome{/t}

If the parameter `_count` is given, pluralization is used:

{t _count="10"}messages.apples{/t}

All other parameters are passed to Laravel's translator as replacements:

{t name="Dayle"}messages.welcome{/t}