I\'m using laravel (5.1) blade template engine with the localization feature.
There is a language file messages.php
within the /resources/lang/en/
I think that the best option is use CSS text-transform property
In your CSS file:
.lowercase {
text-transform: lowercase;
}
.uppercase {
text-transform: uppercase;
}
.capitalize {
text-transform: capitalize;
}
Your blade (html) file:
{{ trans('messages.welcome') }}
{{ trans('messages.welcome') }}
{{ trans('messages.welcome') }}
Or, the best option for me, use bootstrap
{{ trans('messages.welcome') }}
{{ trans('messages.welcome') }}
{{ trans('messages.welcome') }}