Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lang broken for my app after installing this package #102

Open
dhaliscak opened this issue Apr 19, 2023 · 1 comment
Open

Lang broken for my app after installing this package #102

dhaliscak opened this issue Apr 19, 2023 · 1 comment

Comments

@dhaliscak
Copy link

dhaliscak commented Apr 19, 2023

I am new to laravel, started development on v9, now I am on v10.

I have installed this package based on steps provided, but I noticed package's lang files were created in folder:
../resources\lang\vendor\laravel-share\en

This is causing the issue, because all my langs file are in following folder:
../lang/en

I google this and figure it out. Problem is that new lang folder location: https://stackoverflow.com/questions/71084830/laravel-9-app-upgraded-from-8-lang-directory-not-working-as-expected

Question:

  • was this Laravel 8 feature that lang files were stored in 'resources' folder and not directly in the root?
  • if previous is yes, can you prepare an update for laravel >9?

My app:

  • Laravel 10.8
  • PHP: 8.2
@abdurashid-dev
Copy link

This package will create a lang folder in resources when you publish the package config & resource files. You should remove that lang folder in resources. I think it should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants