How to Translate an Exported Webflow Static HTML Site (Without Paying for Localization)
Use locale folders to translate a Webflow static export: keep the original pages at the root, put translated copies under a path such as /fr/, and deploy both versions to the same static host. This works for pages you can export as HTML without paying for Webflow Localization; the main production caveat is that copying a page changes how the browser resolves its relative links.
Treat the Webflow project as the design source and the exported files as the publishing source. Share CSS, JavaScript, and unchanged media across languages. Translate the copy, maintain a page-to-page URL map, and keep locale-specific edits separate from fresh exports so that a design update doesn’t wipe them out.
Make a staging copy and map the pages
Start with the code export unpacked in a separate directory. You don’t need a Localization subscription for this workflow, but you do need access to Webflow’s code export feature and somewhere to host the files. Check the export itself for every page you want to translate: don’t assume CMS-generated pages or Webflow-hosted features are included just because they appear on the published Webflow site.
mkdir -p site
cp -R webflow-export/. site/
mkdir -p site/fr
cp site/index.html site/fr/index.html
cp site/about.html site/fr/a-propos.html
Run these commands from the directory containing webflow-export, using a fresh site directory. Deploy the contents of site as one unit; deploying just site/fr would leave the French pages without their shared assets. Confirm that your host serves fr/index.html at /fr/ and keeps /fr/a-propos.html reachable at that exact path.
Keep a URL map in version control before translating the navigation. In this example, the pairs are / ↔ /fr/ and /about.html ↔ /fr/a-propos.html. A translated slug is fine, but you can’t derive it by adding /fr/ to the English URL. Use the same map for navigation, language switches, and search metadata.
Never overwrite a translated directory with a fresh Webflow export. Compare the new export with the previous one, then carry structural changes into the translated pages deliberately.
Fix asset paths before editing copy
A relative URL such as css/project.webflow.css works from a root-level file but points to /fr/css/project.webflow.css from a French page. If you’re deploying at the domain root, use root-relative URLs for shared assets. The filenames below are examples; retain the actual names, script attributes, and load order from your export.
<!-- Broken in a page served under /fr/ -->
<link rel="stylesheet" href="css/project.webflow.css">
<img src="images/team.jpg" alt="L’équipe">
<script src="js/webflow.js"></script>
<!-- Fixed for a site deployed at the domain root -->
<link rel="stylesheet" href="/css/project.webflow.css">
<img src="/images/team.jpg" alt="L’équipe">
<script src="/js/webflow.js"></script>
Apply the same check to every candidate in srcset, not just to src; a broken candidate may fail only at a particular screen width. Relative url() references inside an external stylesheet resolve from the stylesheet’s location, so leave working ones alone when the stylesheet stays put. If your public site lives under a prefix such as /project/, include that prefix in your root-relative URLs or use correctly calculated document-relative paths instead.
Separate editable copy from Webflow hooks
| Markup surface | Translate or preserve? | Example decision |
|---|---|---|
| Headings, links, buttons | Translate visible copy | About us → À propos |
| Accessible names and image descriptions | Translate natural language; preserve intentionally empty alternatives | aria-label="Menu principal"; keep alt="" on decorative images |
| CSS selectors and interaction hooks | Preserve exported identifiers | class="w-nav-link", data-w-id, data-wf-page |
| Fragment and accessibility references | Preserve or update the identifier and every reference together | href="#team" links to id="team"; aria-labelledby points to an ID |
| Form labels and field keys | Translate what people read; preserve the submission contract | Adresse e-mail is a label; name="email" is a field key |
| Page language and metadata | Set per locale | lang="fr", <title>À propos</title> |
Edit complete sentences, not isolated words between tags. If Webflow wraps part of a sentence in <strong> or a styled <span>, the emphasized phrase may need to move in the translated sentence. Translate the sentence as a unit, then reapply emphasis where it belongs. Review text baked into images or injected by third-party widgets separately; neither will change just because you edit the surrounding HTML.
Never translate CSS classes, interaction IDs, or form field keys as if they were copy. A page can look fine at rest and still fail when someone opens the mobile menu or submits a form.
Localize page language, navigation, and the switcher
Update the opening <html> tag on each translated page to declare its language, without dropping any existing Webflow attributes on that tag. Put <meta charset="utf-8"> near the start of the head and save the file as UTF-8. For a right-to-left locale such as Arabic, set lang="ar" dir="rtl", then review alignment, icon direction, and any CSS that uses physical left and right properties.
<!-- French About page body excerpt -->
<nav aria-label="Menu principal">
<a href="/fr/">Accueil</a>
<a href="/fr/a-propos.html" aria-current="page">À propos</a>
</nav>
<nav aria-label="Langue">
<a href="/about.html" lang="en" hreflang="en">English</a>
<a href="/fr/a-propos.html" lang="fr" hreflang="fr"
aria-current="page">Français</a>
</nav>
<section id="team">
<h2>L’équipe</h2>
</section>
Apply these changes inside the exported navigation structure rather than replacing a working Webflow menu with this minimal excerpt. The main menu stays within French; the language switch takes readers to the English version of the same page, not to the English home page. The link’s lang describes the label’s language, while its hreflang describes the destination’s language.
Publish matching search metadata
Give each translated page its own title, description, and self-referencing canonical URL. Declare the available variants with reciprocal hreflang links in the document head. Replace {{ production_origin }} with the public HTTPS origin, without a trailing slash, before publishing; the braces are a placeholder, not HTML the browser resolves.
<!-- French About page: inside <head> -->
<title>À propos de l’équipe</title>
<meta name="description" content="Découvrez les personnes qui conçoivent le produit.">
<link rel="canonical" href="{{ production_origin }}/fr/a-propos.html">
<link rel="alternate" hreflang="en" href="{{ production_origin }}/about.html">
<link rel="alternate" hreflang="fr" href="{{ production_origin }}/fr/a-propos.html">
<!-- English About page: inside <head> -->
<title>About the team</title>
<meta name="description" content="Meet the people who design the product.">
<link rel="canonical" href="{{ production_origin }}/about.html">
<link rel="alternate" hreflang="en" href="{{ production_origin }}/about.html">
<link rel="alternate" hreflang="fr" href="{{ production_origin }}/fr/a-propos.html">
Replace existing canonical tags rather than adding a second one. Both pages list the same alternates, including themselves, but each points its canonical at its own final URL. Check that these URLs match your host’s redirects, the sitemap if you publish one, and the actual paths you use in navigation; don’t mix clean paths with .html URLs unless the host explicitly redirects one to the other.
Reconnect forms on the static host
Exported form markup doesn’t bring Webflow’s hosted submission processing with it. Point the form at a handler you control or configure separately, and check inherited form scripts so they don’t intercept the submission. The example assumes an existing same-origin POST /contact-submit handler; a static file with that name won’t process the request.
<form action="/contact-submit" method="post">
<input type="hidden" name="locale" value="fr">
<label for="contact-email">Adresse e-mail</label>
<input id="contact-email" name="email" type="email"
autocomplete="email" required>
<button type="submit">Envoyer</button>
</form>
Keep name="email" aligned with the handler’s expected field name, and have the handler validate the locale before using it to choose a response. Test that a submission reaches its destination and that the success and error states return the visitor to the right language. Browser-native validation messages depend on the browser’s language settings, so they won’t always match the page.
Test both locales over HTTP
cd site
python3 -m http.server 8000
Open localhost:8000/fr/a-propos.html directly and refresh it; loading via file: won’t exercise root-relative URLs the way a server does. This local server is useful for HTML and assets, but it doesn’t reproduce production redirects or handle your form submissions. Repeat those checks on a staging deployment that uses the production host’s routing rules.
Use HTML Translate to review a localized export, then verify the language links and interactive states on your hosted copy.
- Open a deep link in each language, inspect the network panel for missing assets, and resize the viewport to trigger alternate
srcsetcandidates. - Use the keyboard to open the mobile menu, follow
#team, and switch languages in both directions. Verify that focus indicators and translated labels aren’t clipped. - View the served source to check
lang, canonical URLs, and reciprocal alternates. Compare the emitted values rather than relying on what’s in your editing template. - Test a valid form submission and an error on staging. Verify the delivered fields and the localized confirmation, not just the button click.
Common mistakes and troubleshooting
- The French page is unstyled. A link to
css/…resolved under/fr/. Fix the URL for the actual deployment root and confirm the stylesheet returns CSS rather than a fallback HTML page. - An image disappears only on mobile. The
srcpath works but asrcsetcandidate doesn’t. Inspect the requested filename at the failing viewport. - The menu renders but won’t open. Check the script requests, then compare exported classes,
data-w-idvalues, and script order against the working source page. - The language switch drops visitors on the wrong page. A global switcher hard-codes
/fr/. Set its destination from the current page’s entry in the URL map. - Search metadata points back to English. The cloned page still uses the English
rel="canonical". Replace it with the French page’s public URL and check the reciprocal alternates. - A translated button label is clipped. A fixed
widthorwhite-space: nowrapwas sized for English. Allow wrapping or a flexible width and check the narrowest supported viewport.
Webflow Multilingual Markup Questions
Does each language need its own copy of the CSS and JavaScript?
No. Serve shared files once and point every locale at them. For a locale-specific style adjustment, use a scoped selector such as html[lang="fr"] rather than forking the entire exported stylesheet.
Do the filenames have to be translated?
No. Both /fr/about.html and /fr/a-propos.html can work. Pick one public URL per page and keep the switcher, canonical, and alternate links aligned with it. If an indexed filename changes, configure a permanent redirect from the old path.
Can a single French variant use fr?
Yes. Use fr for French without targeting a specific region. Use a tag such as fr-CA when the version is specifically for Canadian French, not merely because some readers live in Canada.
What if a page hasn’t been translated yet?
Leave that variant out of the page’s alternate links until the translated URL exists. If the switcher offers the locale home page as a fallback, label it as such rather than implying it’s a translation of the current page.
Will changes in Webflow update the translated files?
No. An export is a snapshot. Save each new export separately, compare it with the previous export, and reconcile changes to structure, shared assets, and copy before replacing anything in site/fr/.
Can exported pages still use Webflow CMS or Ecommerce?
Don’t count on a static deployment to reproduce hosted CMS or Ecommerce behavior. Publish translated content as actual HTML files or generate it with a separate build process; treat live features such as checkout as integrations that need their own supported implementation.