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 do you understand by orm?
What do you know about laravel eloquent?
Explain faker in laravel.
How to use cookies in laravel?
How do I customize validation error messages for a form?
What are the difference between insert() and insertgetid() in laravel?
Explain few features of laravel?
What is mvc in php laravel?
What are the advanced features of laravel 6.0?
How will you explain guarded attribute in a laravel model?
How to get JSON Response on Laravel ?
Tell me does laravel support caching?
What is the use of the bootstrap directory?
What is contextual binding?
Explain laravel’s service container?