-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Magento 2 Static Deploy Issue #4229
Comments
Have you tried |
Yeah that's what I've been doing but seems strange deploying it twice, once for the admin and once for the frontend, I thought it would just deploy to the correct ones set in the locale really so you just have to deploy once but if doing it twice is the only way that's no problem |
@jordanbrierley thank you for reporting, we have created ticket MAGETWO-52422 to investigate and fix. |
@jordanbrierley After investigation, this is identified as not a bug. Here is deploy static content command options: I will close this issue for now. Please feel free to open it if you have unanswered questions relate to this issue. |
Hi Joahne, Why is this not a bug? Is it always required to deploy static content for Maybe I'm overlooking something, but if the admin has a hard dependency on static content from the |
@kweij: every theme needs to be deployed in the locales it is using. There is a pending PR which will allow you to specify a combination of themes and locales in the This will allow you to do something like this:
Which will significantly improve the performance during each deploy. I suspect the PR to be merged in version 2.2 of Magento as Piotr mentions in that PR. |
@hostep: Thanks for the explanation. So, the backend does not have a hard dependency on Looking forward to pull request being merged, that will definitely improve the speed with which we can deploy content. |
Hi Joan, I need assistance on a specific implementation of the payment module for a local mobile wallet (Mpesa). Apologies for using the wrong forum for this. My email is moses@kwetu.info. |
- fixed Product belongs to categories with and without event does not shown - fixed [GITHUB] Product Edit Page Can't Load magento#5967
I have changed my local settings in the backend (store->config->general) all to the United Kingdom so my theme looks in the en_GB folder however the admin still looks in the en_US folder after deploying.
This creates a problem when it comes to running 'bin/magento setup:static-content:deploy' as it only deploys it to the en_US folder meaning only the admin displays correctly. I know you can use prefix it with en_GB however doing this causes the admin to break and not show correctly.
Is there a way to change the admin so it looks in the en_GB folder or is it just a case of either:
The text was updated successfully, but these errors were encountered: