Ability to make replacements with uppercase/lowercase patterns
samy opened this issue · comments
With Laravel Translator API, we have the ability to convert some replacements patterns letter to uppercase or lowercase.
For example, if you replace :Exclude
by passing [ exclude => "exclude me" ], you will obtain "Exclude me" (first E is capitalized as in translation pattern).
It should be useful to have it in Laravel-JS-Localization 👍
I agree, I will keep this issue open here for visibility as we work with it into the right place: https://github.com/rmariuzzo/Lang.js
Created the issue here: rmariuzzo/Lang.js#47
Hey @samy! I have added that feature and released at: https://github.com/rmariuzzo/Lang.js/releases/tag/v1.1.6 I will update shortly this package with latest Lang.js.
@rmariuzzo Thanks!
Great ! Thanks for reactivity !
This was released.