laravel/framework — pull request #695 by Repox (2013-03-26 14:05:35+00:00)
Title: Enable the use of @lang and @choice for Blade Templates

I wanted to be able to allow the use of @lang and @choice for localization.

This meaning I'm now able to write my localized templates with the pretty Blade style and syntax.

@lang('messages.key') // produces
@lang('messages.key', array('variable' => 'replacement')) // produces 'replacement')); ?>
@choice('messages.key', 1) // produces
@choice('messages.key', 10) // produces