Text in its page structure
Translate a web document with the aim of keeping its markup useful. Compare the result in the site where readers will see it.
Translate the text in an HTML file with the aim of keeping the original page structure. Upload your file, choose the target language and compare the result with the source. Review the page in its actual site before publishing it.
Translation example
A help-centre article with headings, lists, a link, bold and italic labels, a note and a table, written for this page. The tags, attributes and link targets come back as they were; the sentences, the link caption, the labels, the title and the meta description are translated. The pictures below are the two files rendered with a plain stylesheet added for the screenshot.
The sequence of tags is identical before and after.
Every href, class and id comes back as it was.
<html lang="en"> → <html lang="es">
22 of 22 text fragments with words differ from the source; the only others are lone full stops.
2026-10-08 verified — Amanda Lee
Translate a web document with the aim of keeping its markup useful. Compare the result in the site where readers will see it.
The help-page example includes both HTML files and rendered previews. Compare the translated wording with the underlying tags.
Inspect the translated title and description in the downloadable example. Check the corresponding fields in your own page before publishing.
Use HTML translation for a saved help article or other web document whose text needs another language. Keep the source file and compare the translated copy in the same site context. The goal is to retain the document's structure while changing the wording.
A translated file is one part of a localized website. Navigation, shared templates and content loaded by scripts may live elsewhere. Review those separately when you add the page to your site.
The English and Spanish files on this page have the same tag sequence and the same link destination. The visible sentences, link caption, page title and meta description are translated. The language attribute changes from English to Spanish; preserving the document does not mean freezing every attribute value.
Download both files to inspect the markup, and use the previews to compare the rendered text. A plain stylesheet was added for the screenshots. The example's password-reset instructions and timings are demonstration content, not ForgeFile's account or security policy.
Inspect the page title, description and any reader-facing attributes in your own result. The sample demonstrates a translated title and description, but it does not test every kind of metadata or accessibility label.
The HTML standard defines the language attribute as the language of an element's content and relevant text attributes. Check that the page declares the intended language. For right-to-left text, check direction and layout in the browser as a separate step.
Read the HTML Standard's definition of the language attribute.
Review canonical URLs and language-alternate links as part of your site's publishing setup. Keeping a source page's URL unchanged is not always correct for a new language version. This example has no canonical links or structured-data block to verify.
Preview the translated HTML with the styles and assets it uses in production. Longer wording can wrap onto extra lines or crowd a narrow button even when the tags are unchanged. Check a narrow screen as well as your normal desktop view.
Follow links and review any form or scripted interaction before publishing. The sample is a static help article; it cannot establish that every interactive page or email client will behave the same way. If you maintain the content in Markdown, translate that source instead of an exported copy.
Save the source HTML
Keep the original file and note which assets or templates the page uses outside that file.
Upload the HTML and choose a language
Select the HTML document and your target language. Keep the source available for the final comparison.
Review text and page metadata
Read the translated copy and inspect the title, description and language declaration. Compare important links and attributes with the source.
Preview in the destination site
Check the page with its real styles and assets, including a narrow viewport. Publish through your normal site workflow after review.
No. A translated document still needs to be added to your site. Routes, shared navigation and language switching belong to your publishing setup; a file download does not configure them.
It identifies the language of the content. The source is English and the result is Spanish, so the example changes that value. Check your own page declaration instead of expecting every attribute to remain identical.
No. It is a static help article. Test any forms, scripts or template expressions in your own page before deploying the translated file.
Yes. Translated text can take more space. Use the actual stylesheet to check line wrapping, buttons and narrow screens; matching tags alone cannot establish an identical layout.
Choose an HTML file and the language your readers need. Compare the downloaded result with the original before adding it to your site.