Closed realtebo closed 2 years ago
Don't install both of them as laravel-lang/publisher install the proper version of laravel-lang/lang under the hood. maybe that causes the issue. try to remove laravel-lang/lang
I read in the doc here:; https://laravel-lang.github.io/publisher/using/plugins/index.html
Install the package into your application. For example, composer require laravel-lang/lang --dev
I removed vendor I removed explicit dev dependency of laravel-lang/lang I run composer:upgrade
Installed these
Downloading laravel-lang/lang (10.1.12) Downloading laravel-lang/publisher (v11.1.12)
I run php artisan locale:add it
It worked
There is something wrong in the laravel-lang/lang
installation instructions.
This page: https://laravel-lang.github.io/lang/installation/composer.html
Should tell users to do not use it directly, and also should have version numbers updated.
@realtebo, I'll update the documentation soon :)
The https://laravel-lang.github.io/lang/installation/composer.html documentation describes the installation process without a publisher
It could be usefull to say: install THEN manually copy files :)
It could be usefull to say: install THEN manually copy files :)
https://laravel-lang.github.io/lang/installation/files.html :)
Please, don't hate me. It's only that install in the 'list' mode tells user that must choose one of 4 methods
nothing helps user to understand that AFTER installing using composer/github/svn must always copy files. I suggest to replace the list and 5 pages with a more clear and simple paragraph. Just and idea.
Description:
How to install italian locale?
I have installed both
I want to simply install/expose/use italian localizations
I am not able to do understand how to do
Steps To Reproduce:
I also tried a
locale:add it
but it creates new empty file for italian localesI tried also running
locale:update
but nothing changes