Managing Locales
Almost all console commands take an array of localizations as parameters.
For example:
php artisan lang:<command> fr de de_CH vi zh_CN
php artisan lang:<command> fr
php artisan lang:<command>
Where:
fr de de_CH vi zh_CN
it's a list of locales separated by a space;fr
it's also possible to specify a single localization name;if the parameter is not passed during the call, the script will ask two questions:
Do you want to %s all localizations?
, when%s
isinstall
,remove
orreset
;If
no
, then next question isSelect localizations to add (specify the necessary localizations separated by commas)
.
Last modified: 30 June 2024