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

Getting error while changing admin locale from env file. #8485

Closed
1 task done
Amitk-webkul opened this issue Sep 21, 2023 · 3 comments
Closed
1 task done

Getting error while changing admin locale from env file. #8485

Amitk-webkul opened this issue Sep 21, 2023 · 3 comments
Assignees
Labels
2.x 2.x Versions Bug Fixed When bug issue is fixed. Bug Something isn't working. Hacktoberfest Bagisto Hacktoberfest Event.

Comments

@Amitk-webkul
Copy link
Contributor

Terms

  • Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected

master

Issue Description

While trying to change the admin local from the env file. so it is showing a blank screen and has errors in the console.

Preconditions

  1. Admin should be logged in.
  2. Admin should have two or more locales.

Steps to reproduce

  1. Go to the project root directory
  2. Edit .env file
  3. Change locale en to nl and save it
  4. Go to the Admin panel
  5. See the error

Expected Result

it should change the admin locale according to the set locale from the env file.

Actual Result

it is showing a blank screen and has errors in the console. Here

Screenshots

No response

Additional context

No response

@Amitk-webkul Amitk-webkul added Bug Something isn't working. 2.x 2.x Versions Hacktoberfest Bagisto Hacktoberfest Event. labels Sep 21, 2023
suraj-webkul added a commit to suraj-webkul/bagisto that referenced this issue Sep 27, 2023
@suraj-webkul suraj-webkul added the Bug Fixed When bug issue is fixed. label Sep 27, 2023
@suraj-webkul suraj-webkul self-assigned this Sep 27, 2023
@Amitk-webkul
Copy link
Contributor Author

@suraj-webkul, On the review page, it is still showing the same issue. Here

@Amitk-webkul Amitk-webkul removed the Bug Fixed When bug issue is fixed. label Sep 28, 2023
@amit-webkul
Copy link
Collaborator

@Amitk-webkul This is Fixed in this PR

@amit-webkul amit-webkul added the Bug Fixed When bug issue is fixed. label Sep 28, 2023
@Amitk-webkul
Copy link
Contributor Author

Now, this issue is fixed. so I am closing this issue.
And I have attached a screenshot Here, for future reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x 2.x Versions Bug Fixed When bug issue is fixed. Bug Something isn't working. Hacktoberfest Bagisto Hacktoberfest Event.
Projects
None yet
Development

No branches or pull requests

3 participants