What is meant by Laravel - Localization ?



What is meant by Laravel - Localization ?..

Answer / 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

More Laravel PHP Framework Interview Questions

What is seeding in laravel?

0 Answers  


In which directory laravel configartion files are kept.

0 Answers  


How to generate a controller with resources in laravel?

0 Answers  


What is cross site request forgery with example?

0 Answers  


How secure is laravel?

0 Answers  






What is the differce between contracts and facades?

0 Answers  


Do you know what is laravel framework?

0 Answers  


What are the main features of laravel?

0 Answers  


What is laravel slug?

0 Answers  


What are seeds in laravel?

0 Answers  


Explain how to upgrade valet to valet 2.0?

0 Answers  


Tell me how to enable maintenance mode in laravel 5?

0 Answers  


Categories