Add Locales | Laravel Lang

Laravel Lang Help

Add Locales

You can install the required locales by calling the console command php artisan lang:add <locale> and passing it one or more locale codes, separated by a space:

php artisan lang:add fr de de_CH vi zh_CN php artisan lang:add fr

If the target files exist, you will be asked what to do - skip the installation or replace the files.

If these files contain keys that you have added, it is recommended that you skip them, as since the php artisan lang:update command will be able to update the files without deleting your code.

Last modified: 30 June 2024