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 database migration. How to create migration via artisan?
What is blade template engine?
What is laravel eloquent?
What is uri in laravel?
Does wordpress use laravel?
Tell me how do I see all of the routes that are defined?
Is laravel spark free?
What is binding?
What is database migration in laravel?
What is the laravel framework?
What is use of laravel?
How do I register a middleware?
What is the use of fillable in laravel?
Is laravel easy?
How to use session in laravel?