Git Product home page Git Product logo

Comments (5)

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

I see what the problem is. The "laravel-lang/common" package is not strictly tied to the version of the framework, so you installed it without any problems.

Thus, the "laravel-lang/lang" package version 13.2.2 was installed, and it does not contain translations for Laravel 9 (you can check the compatibility table).

To solve this problem, run the console commands:

composer remove laravel-lang/common --dev
composer require laravel-lang/common:^3.0 --dev

from publisher.

misog avatar misog commented on August 15, 2024 1

Thank you, it is working now. This could be documented for other people.

from publisher.

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

What version of the laravel-lang/lang package is installed in the project? Or are you using the laravel-lang/common package?

Apparently, you installed new versions of packages without checking them against the compatibility table.

Write your versions and I can tell you exactly what needs to be done to solve the problem.

from publisher.

misog avatar misog commented on August 15, 2024

I installed it like this:

composer require laravel-lang/common --dev

In composer.lock I have laravel-lang/lang of version 13.2.2

Also

Laravel-Lang Publisher Version: v14.7.0
Laravel Version: v9.52.14
PHP Version: 8.2.1

Also we are using non-standard architecture of Laravel. So if Pubisher automatically detects needed translations maybe this could be the problem.

from publisher.

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

This problem is encountered when installing older versions. I have released a fix that will install the correct version and get rid of the error.

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.