This small English test post verifies three n8n translation workflow behaviors: copying the source category, translating the excerpt per locale, and rewriting internal blog links so each translated post points to its locale-specific version instead of the English original. If this appears on the live blog, remove it after the workflow test is confirmed.
Why this test exists
The n8n translator previously failed to preserve two important Ghost fields on translated posts:
categorycustom_excerpt
One Portuguese translation of an LLM tutorial shipped without both fields. Internal links inside translated articles also continued pointing to English URLs, which weakens hreflang clusters and sends localized readers to English content.
This post is the smoke test for the updated workflow. It confirms the fix works end-to-end against real Ghost content.
What to verify after publishing
Publish this source post and let the n8n translator run once.
The workflow should create 11 translated drafts or published posts in Ghost. For each translated copy, verify the following:
-
custom_excerptis populated with a translated version of the English excerpt. -
categoryis copied from the source post asTutorials. - Internal blog links are rewritten to the matching locale.
For example, the Japanese version should contain:
https://apidog.com/jp/blog/free-cursor-ai/
It should not contain the original English URL.
Link rewrite test targets
The workflow should handle both absolute and root-relative-style internal links.
Use these links as rewrite test cases:
-
Absolute links:
-
Additional internal blog links:
Expected result for the Japanese copy:
/jp/blog/{slug}/
Expected result for the Indonesian copy:
/id/blog/{slug}/
The Indonesian copy should not use:
/ig/blog/...
Also confirm that the Indonesian post is created in Ghost with:
slug: β¦-id
tag: 1Locale ID
That rename behavior is part of the Req 6 follow-up.
Quick verification command
After the translation is published, run a basic HTTP check:
curl -I https://apidog.com/jp/blog/translation-pipeline-smoke-test/
Expected result:
HTTP 200
Then inspect the rendered page and confirm:
- The
Tutorialscategory badge is visible. - A Japanese excerpt appears under the title.
- Internal links point to
/jp/blog/....
Cleanup
After all 11 translated copies pass verification, delete this test post and all translations from Ghost.
If anything fails, keep the posts for debugging and notify the workflow owner. Common failure cases include:
- Missing category
- Empty excerpt
- Links still pointing to English URLs
- Indonesian links using the wrong locale path

Top comments (0)