Git Product home page Git Product logo

Comments (8)

mohamedsabil83 avatar mohamedsabil83 commented on August 15, 2024 3

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

from publisher.

realtebo avatar realtebo commented on August 15, 2024

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.

from publisher.

andrey-helldar avatar andrey-helldar commented on August 15, 2024

@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

from publisher.

realtebo avatar realtebo commented on August 15, 2024

It could be usefull to say: install THEN manually copy files :)

from publisher.

andrey-helldar avatar andrey-helldar commented on August 15, 2024

@realtebo, in version 11.1.5 I wanted to remove the lang package from the publisher, but in patch 11.1.6 I brought it back.

Just run composer update.

from publisher.

andrey-helldar avatar andrey-helldar commented on August 15, 2024

It could be usefull to say: install THEN manually copy files :)

https://laravel-lang.github.io/lang/installation/files.html :)

image

from publisher.

realtebo avatar realtebo commented on August 15, 2024

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.

from publisher.

andrey-helldar avatar andrey-helldar commented on August 15, 2024

I agree. Laravel-Lang/lang#1942

from publisher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.