What is meant by Laravel - Localization ?

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


Please Help Members By Posting Answers For Below Questions

What is namespace in php laravel?

559


What can I do with laravel?

551


What is the differce between contracts and facades?

502


How to get JSON Response on Laravel ?

1211


What is auth in laravel?

567


How to check an input value is present or not in laravel?

515


Explain the controllers in laravel?

565


Tell me does laravel support php 7?

519


How facades are different from dependency injection?

553


How to rollback last migration?

589


What is service container in laravel?

530


Is laravel good for ecommerce?

520


What is asset in laravel?

575


Why should I use laravel?

530


Explain short notes on Laravel - Artisan Console and commands ?

1151