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
How to add multiple and conditions in laravel query?
Tell me why doesn't laravel use semantic versioning?
Explain automatic injection in laravel?
What route model binding?
How can someone turn off csrf protection for a specific route?
What is bagisto?
How to use the custom table in laravel model?
What is dependency injection in laravel?
Explain the concept of cookies.
What is controller middleware in laravel?
Is laravel a cms?
How to enable query log in laravel 5?
What is schema in laravel?
What is meant by Laravel - Validation ?
What is ssrf attack?