Hello,
I’m getting a translation error when inputting a breadcrumb into my blog posts.
The error is “Translation missing: en.blogs.article.blog_detail”
I have been into the online store - action - edit default theme content and there isn’t any items missing.
What could be causing the issue and is there a fix?
Thank you
Hi @MJW1994
The “Translation missing: en.blogs.article.blog_detail” error typically means your theme is trying to display a text string that doesn’t exist in your language files or theme content.
Here’s how you can fix it:
-
Use Shopify’s Language Editor:
-
In Shopify admin, go to Online Store > Themes.
-
Click Actions > Edit default theme content on your active theme.
-
Use the search or filter to find missing translation keys or empty fields.
-
Look specifically for keys related to blog or article pages, such as blogs.article.blog_detail.
-
Add appropriate text for these missing fields and save.
-
Check Your Theme’s Locale Files:
-
Go to Online Store > Themes > Actions > Edit code.
-
Open the Locales folder and edit the en.default.json (or your store’s language file).
-
Search for “blog_detail” or related keys. If missing, add an entry like:
“blogs”: { “article”: { “blog_detail”: “Blog Details” } }
-
Revert or Update Theme Files if Needed:
- If you recently edited theme files, consider reverting to a previous version or reinstalling a fresh copy of the theme.
-
Clear Cache and Test:
- After saving changes, clear your browser cache or test in incognito mode to ensure the error is resolved.
This approach aligns with Shopify community solutions and official docs on fixing missing translation errors by adding the missing keys either via the language editor or directly in the locale JSON files. If you continue to have trouble, providing your theme name and how you manage translations can help narrow down the issue.