-
Notifications
You must be signed in to change notification settings - Fork 125
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
[Bug]: Shopify theme push -u breaks translations from Translate & Adapt app #1562
Comments
Hi, thanks for your proposal, I'll tag @Shopify/theme-developer-tools so they take a look at this. |
Hi! Just wanted to say that we have a GitHub workflow that utilizes |
We are also experiencing this problem. The latest version of the CLI definitly has some problems with the translations. |
In my case, the translations added by Translate & Adapt app for the template sections weren't properly moved when I did |
From what I remember it only affected the sections inside HopePage and other templates. Main Menu or Footer was fine. So when you translate the "ImageBanner" and retry it should be not translated. |
Yes, duplicate is the solution, but still, this is the problem. When I change the Live theme then those translations are not re-attached. They are only in the situation when you duplicated theme first. |
That's true, because It is unfortunate though that the current Translate & Adapt UI gives the impression that translations are attached to the store, even though they are attached to a specific theme, and that there's no way to copy-paste/export/import translations from one theme to another. I therefore invite you to submit feedback to the T&A team (there's a feedback feature in the Shopify Admin), so that the related issues get prioritised. |
I'm not sure this issue should be closed. It's actually a huge pain in the a**. It means Shopify Translations are not compatible with I'm really curious what workaround developers use to work with both translation and github integration within Shopify. I will open a new issue to highlight this problem. |
this is still a massive issue any time we work with multilingual sites i just manually copy pasted 250 files to avoid breaking the translations haha |
This is still very much an issue. The proposed solution of manually duplicating themes in the admin is not viable in CI/CD workflows. |
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
When store has Translate & Adapt app installed, the translations should be connected to every version of same theme. So for those created in the process bellow also.
Process:
shopify theme pull
shopify theme push -u -t "New name"
Actual behavior
When you push local theme changes with
shopify theme push -u -t "New name"
the new theme is created, but it also "disconnected" from the Translate & Adapt app translations (no translations to the templates). If you instead duplicate the original theme and then push local changes withshopify theme push -t xxxxxx
(xxxxxx - id of the duplicated theme) then all of the translations works fine.Stack trace
No response
Reproduction steps
shopify theme pull
shopify theme push -u -t "New name"
Operating System
macOS 11.6
Shopify CLI version (check your project's
package.json
if you're not sure)3.44.1
Shell
zsh
Node version (run
node -v
if you're not sure)v19.4.0
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered: