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

Why are migrations necessary?

0 Answers  


Explain how to redirect user with flashed session data in laravel?

0 Answers  


How to use skip() and take() in laravel query?

0 Answers  


When laravel was launched?

0 Answers  


What is official website url of laravel?

0 Answers  


How to generate a controller with resources in laravel?

0 Answers  


How to get cookies in laravel?

0 Answers  


Tell me what is system requirement for installation of laravel 5.2 (latest version)?

0 Answers  


What is contextual binding?

0 Answers  


What is boot method in laravel?

0 Answers  


What are the Writing Gates and Policies ?

1 Answers  


What is acl in laravel?

0 Answers  


Categories