General principles
Json fallbacks doesn't work in the Laravel Framework.
To solve this problem, install the Laravel Lang: JSON Fallback Hotfix package.
Almost all console commands accept an array of localizations as a parameter.
For example:
php artisan lang:<command> en de ro
php artisan lang:<command> de
php artisan lang:<command>
Where:
en de ro
- a list of locales separated by a space;de
- it is 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)
.