What This Guide Covers
- Three technical approaches to bilingual websites — with trade-offs for each
- SEO strategy for English and French search audiences
- Content planning and translation considerations
- Accessibility requirements for bilingual sites
- Cost factors and what to budget for
Choosing Your Technical Approach
The most important decision in building a bilingual website is the technical architecture. There are three main approaches, each with different implications for SEO, maintenance, and user experience.
Approach 1: In-Page Language Toggle
Both language versions are loaded in the same HTML page.
JavaScript switches between them based on user selection. The
lang attribute on the
<html> element updates dynamically.
How it works: Content is stored in
data-en and data-fr HTML attributes. A
toggle button calls a JavaScript function that reads the
appropriate attribute and updates the visible text. All five of
our showcase sites use this approach.
Pros: Simple to implement, no server-side complexity, instant switching, single URL to manage.
Cons: Both language versions are in the same HTML file (larger page size), limited SEO benefit for French content, not ideal for large content volumes.
Best for: Smaller sites (under 20 pages), organizations with limited translation resources, sites where content is manageable in a single file.
Approach 2: Separate URL Structure
Each language has its own URL structure. Common patterns:
/en/ and /fr/, or
example.ca (English) and
example.ca/fr/ (French). Content is managed
separately for each language.
How it works: Each page exists as two separate
HTML files. hreflang tags in the
<head> tell search engines which version to
show to users in different language/region combinations.
Pros: Best SEO — each language version can rank independently. Clean separation of content. Easier to manage large content volumes.
Cons: More files to maintain, requires consistent updates in both languages, more complex URL structure.
Best for: Larger sites, organizations with dedicated translation resources, maximum SEO benefit.
Approach 3: CMS-Driven Translation
A content management system handles translation management. Editors create and update content in both languages through an admin interface. The CMS generates the appropriate HTML for each language.
How it works: Depends on the CMS. WordPress with WPML or Polylang, Contentful, Sanity, and other headless CMS platforms all support multilingual content.
Pros: Best for non-technical content editors, easy to keep both languages in sync, scales well for large content volumes.
Cons: Higher complexity, ongoing maintenance requirements, CMS licensing costs.
Best for: Sites with frequent content updates, organizations with non-technical content editors, enterprise-scale bilingual sites.
SEO for Bilingual Canadian Websites
A properly implemented bilingual website can rank for both English and French search queries — effectively doubling your potential organic search audience.
Hreflang tags are essential for separate URL implementations. They tell search engines which version of a page to show to users in different language/region combinations:
<link rel="alternate" hreflang="en-CA" href="https://example.ca/en/about">
<link rel="alternate" hreflang="fr-CA" href="https://example.ca/fr/a-propos">
<link rel="alternate" hreflang="x-default" href="https://example.ca/en/about">
French keyword research is a separate exercise from English keyword research. French-language keywords like "conception de site Web Canada" or "site Web bilingue Ottawa" have real search volume and often less competition than their English equivalents.
Content quality matters. Machine-translated content ranks poorly and damages your credibility with French-speaking visitors. Invest in quality human translation for your most important pages — at minimum your homepage, services pages, and contact page.
Content Planning for Bilingual Sites
Before building a bilingual website, plan your content strategy:
- Which pages need translation? Not every page needs to be bilingual. Prioritize your most important pages — homepage, services, about, contact.
- Who will translate? Professional human translation is strongly recommended for public-facing content. Machine translation (Google Translate, DeepL) can be a starting point but requires human review.
- Who will maintain both versions? When you update English content, who updates the French? Build this into your content workflow.
- Cultural adaptation vs. direct translation. Some content needs cultural adaptation, not just translation. Dates, measurements, examples, and references may need to be adjusted for a Quebec or francophone audience.
Accessibility for Bilingual Websites
Bilingual websites have specific accessibility requirements:
-
The
langattribute on<html>must correctly identify the current language (lang="en-CA"orlang="fr-CA") -
For in-page toggle implementations, the
langattribute must update dynamically when the language switches - Language switcher controls must be keyboard-accessible
- Language switcher labels should use text (EN/FR or English/Français), not just flag icons
- Screen readers must be able to correctly interpret the language of the content
See our Website Accessibility in Canada guide for full accessibility requirements.
Cost Considerations
A bilingual website typically costs 20–40% more than a single-language site. The main cost drivers are:
- Content translation: Professional translation costs $0.15—$0.30 per word for English-to-French. A typical 10-page website might have 5,000–10,000 words of content.
- Additional QA testing: Both language versions need to be tested for layout, functionality, and content accuracy.
- Technical implementation: The language-switching mechanism adds development time, though it's not significant for in-page toggle implementations.
- Ongoing maintenance: Keeping both language versions in sync adds ongoing content management effort.
Contact us for a specific estimate for your bilingual project.
Our Bilingual Showcase Sites
The best way to understand what a bilingual website looks like in practice is to see one. All five of our showcase sites include live EN/FR language switching: