How to fix broken account button link when changing languages?

Topic summary

Account button links break when switching languages, causing 404 (page not found) errors due to malformed URLs (e.g., /deaccount/login instead of /de/account/login), likely from a translation plugin affecting link structure.

Suggested troubleshooting:

  • Use the Chrome extension “Shopify Theme File Search by EZFY” to locate the code responsible (search for the selector or ID like #login_pupop) in the Shopify theme files.
  • After finding the code, share the snippet to diagnose and correct how language prefixes are inserted into account URLs.

Recommendation: Consider a dedicated translation app (e.g., Langify) for more reliable handling of localized URLs and quicker fixes via collaboration.

Context note: A staff member reminded participants the forum focuses on Shopify’s Translate & Adapt app.

Attachments: An image illustrates using the EZFY extension to search theme code; it is relevant to the troubleshooting approach.

Outcome: No fix implemented yet; the thread is open. Action items are to locate the faulty code and post it for further guidance; evaluating an alternative translation app remains a suggestion.

Summarized with AI on January 6. AI used: gpt-5.

Hello, I installed the translate plugin, but I get an error when switching between languages ​​because the link to the account page is broken. When I select a different language and click on the account button on the top right, I get a 404 error because the link structure is broken. How can I fix this problem?

web sitesi: https://herakleiahome.com
problem link : https://herakleiahome.com/deaccount/login

herakleiahome.com/de/account/login arasındaki / how to fix link / ?

2 Likes

Hi,

you can use the “Shopify Theme File Search by EZFY” Chrome extension

https://chromewebstore.google.com/detail/shopify-theme-file-search/mhchmhfecfdpaifljcfebnlaiaphfkmb

to search for e.g. #login_pupop inside your Theme to find the line of code that (probably) contains this bug.

Once you’ve found it please post it here.

In the long run, I’d recommend using a translation app like Langify since then we can quickly fix such issues for you after sending you a collab request.

Thanks for sharing advice @michaelivanov_1 . Reminder this is a forum for Translate & Adapt.

1 Like