rmariuzzo/Lang.js

Capitalize place-holders

Closed this issue · 1 comments

Laravel Translator API support capitalizing translated values. The docs explains:

If your place-holder contains all capital letters, or only has its first letter capitalized, the translated value will be capitalized accordingly:

'welcome' => 'Welcome, :NAME', // Welcome, DAYLE
'goodbye' => 'Goodbye, :Name', // Goodbye, Dayle

We should support this fancy feature.