rmariuzzo / Laravel-JS-Localization

🌐 Convert your Laravel messages and consume them in the front-end!

Home Page:https://github.com/rmariuzzo/laravel-js-localization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Great ! Thanks for reactivity !

This was released.