Answer Posted / rachana devi
Localization feature of Laravel supports different language to be used in application.
You need to store all the strings of different language in a file and these files are stored at resources/views directory.
You should create a separate directory for each supported language.
All the language files should return an array of keyed strings as shown below.
<?php
return [
'welcome' => 'Welcome to the application'
];
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is namespace in php laravel?
What can I do with laravel?
What is the differce between contracts and facades?
How to get JSON Response on Laravel ?
What is auth in laravel?
How to check an input value is present or not in laravel?
Explain the controllers in laravel?
Tell me does laravel support php 7?
How facades are different from dependency injection?
How to rollback last migration?
What is service container in laravel?
Is laravel good for ecommerce?
What is asset in laravel?
Why should I use laravel?
Explain short notes on Laravel - Artisan Console and commands ?