Giter Club home page Giter Club logo

Comments (6)

suraj-webkul avatar suraj-webkul commented on May 25, 2024 1

Hi @hexlay,
The issue has been fixed in the master branch. Please take the latest pull from the master branch.

from bagisto.

ashishkumar-webkul avatar ashishkumar-webkul commented on May 25, 2024 1

@hexlay

Please check the video for reference as we have also checked and found this working fine. Please take the latest code pull from master.

Still in case you find any issue you can reach out to us, we would love to help you. Thank you so much for your contribution.

Video

Working.mp4

from bagisto.

phyothiha avatar phyothiha commented on May 25, 2024

@hexlay If you are using default theme, you can check Settings > Channels > Edit default one > Look for Theme option, you must need to create your custom locale directory under package/Webkul/Admin/src/Resources/lang/{custom_lang} for admin panel and package/Webkul/Shop/src/Resources/lang/{custom_lang} for shop. I think you do not need to create locale directory where langs appear. Last but not least, do not forget to change APP_LOCALE value from environment variable file. There is no dropdown option, like shop to switch locale, in admin panel.

from bagisto.

hexlay avatar hexlay commented on May 25, 2024

@hexlay If you are using default theme, you can check Settings > Channels > Edit default one > Look for Theme option, you must need to create your custom locale directory under package/Webkul/Admin/src/Resources/lang/{custom_lang} for admin panel and package/Webkul/Shop/src/Resources/lang/{custom_lang} for shop. I think you do not need to create locale directory where langs appear. Last but not least, do not forget to change APP_LOCALE value from environment variable file. There is no dropdown option, like shop to switch locale, in admin panel.

I have created language files for: Admin, Shop, Core, Customer, etc... Basically everywhere as long as there was "Resources/lang/en"

My channel looks like this:
Screenshot 2024-02-01 at 10 17 06 AM

In fact i don't even try to change Admin language, i try to change store language, just for admin i created lang file so it would not crash if a what...

However i still get this, when i change language on Storefront
Screenshot 2024-02-01 at 10 18 51 AM

P.S changing locale in .env to my Unsupported language just breaks admin itself as well, so i am keeping it en, since i don't care about admin language

from bagisto.

devansh-webkul avatar devansh-webkul commented on May 25, 2024

Checked in the master version not able to reproduce it.

from bagisto.

hexlay avatar hexlay commented on May 25, 2024

@devansh-webkul

https://streamable.com/kfsou0

I have made a video if it helps more to understand, i might be doing something wrong, if so, please point out

from bagisto.

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.