In html, I can get a value localized by below code:
{{Lang::get('frontend/error_message.EMAIL_BLANK')}}
I want to use javascript to check valid input data, and get value from localized, but it not working with below code:
error = <?php echo \Lang::get('frontend/error_message.EMAIL_BLANK');?>
error = <?php echo Lang::get('frontend/error_message.EMAIL_BLANK');?>
error = {{Lang::get('frontend/error_message.EMAIL_BLANK')}}
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1SnJoh7
via IFTTT
Aucun commentaire:
Enregistrer un commentaire