-
Notifications
You must be signed in to change notification settings - Fork 143
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]: Theme translations are lost when pulling / pushing between different themes #4486
Comments
👋 Hey @nboliver-ventureweb, Could you please confirm if you're using the "Shopify Translate & Adapt" app to power your translations? If that's the case, that app has the limitation that it gets attached to the theme instance, so the new theme wouldn't really get the translations from the published one. While that's not ideal, it's the current behavior of that app, and the best way to change that is by reporting through the app. If that's not the case, could you please share an example of a Thank you for reporting this! :) |
Hi @karreiro, Thanks for the quick reply. The issue is specifically for user-provided translations of theme sections. As I understand it, those translations are stored in the same place in Shopify Admin (Settings > Languages) regardless of whether you use a CSV, or an app such as Translate & Adapt to mange them. While those translations are attached to a specific theme instance via theme ID, when you manually duplicate a theme in Shopify Admin (... context menu > Duplicate), translations are carried over to the new theme. Perhaps there could be a flag on the
or
|
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. P.S. You can learn more about why we stale issues here. |
Still relevant! |
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. P.S. You can learn more about why we stale issues here. |
Still relevant! |
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
Using
shopify theme pull
with the published theme, followed byshopify theme push --unpublished
should preserve theme translations in the new unpublished theme. This is particularly relevant for CI/CD, where an automation may pull the latest content changes from the published theme and queue up a new unpublished theme for a release.Actual behavior
Translations are not preserved. The translations have to be manually exported while the original theme is published. Once the new theme is created the theme ID has to be replaced in the translation .csv. Then the new theme has to be published, and finally the translations need to be imported. This is error prone and makes CI/CD using a blue-green deployment strategy impossible.
Verbose output
n/a
Reproduction steps
shopify theme pull
to pull the published themeshopify theme push --unpublished
to create a new on-deck theme with your new feature, while preserving the previously published theme so you can roll back etc.Operating System
Mac OS Ventura
Shopify CLI version (check your project's
package.json
if you're not sure)All
Shell
No response
Node version (run
node -v
if you're not sure)No response
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered: