Skip to content

[Bug]: Shopify theme push -u breaks translations from Translate & Adapt app #1562

@kfalkiewicz

Description

@kfalkiewicz

Please confirm that you have:

  • Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
  • Reproduced the issue in the latest CLI version.

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:

  1. Pull latest live version of the theme - shopify theme pull
  2. Do local changes
  3. Push your changes with 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 with shopify theme push -t xxxxxx (xxxxxx - id of the duplicated theme) then all of the translations works fine.

Stack trace

No response

Reproduction steps

  1. Pull latest live version of the theme - shopify theme pull
  2. Do local changes
  3. Push your changes with shopify theme push -u -t "New name"
  4. Your new theme has missing translations from the Translate & Adapt app

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

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions