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 kernel in laravel?
Define http middleware?
List some use valet commands?
What is lts version of laravel?
Is laravel a programming language?
What is binding?
What is eager loading in laravel?
What do you know about traits in laravel?
What is blade template engine?
What is a repl?
How does laravel handle assets?
What is package in laravel? Name some laravel packages?
What do you know about csrf token in laravel?
What is laravel good for?
What is a flush() ?