Language selection

Search


Language toggle: Canada.ca design system

  • Last updated: 2023-06-26

Mandatory

All public-facing Government of Canada content is available in both official languages. A language toggle in the global header provides access to the corresponding page in the other official language.

On this page

When to use

The language toggle is mandatory on all pages.

New transactional pages for web applications must allow people to toggle between official languages. Legacy web applications that don’t support toggling should be updated or replaced. Until then, you can omit the language toggle if its use results in a loss of data.

What to avoid

Don’t put other language options in the language toggle. It is only for English and French. Links to content in other languages should appear in the content area of the page.

Don’t use the language toggle to point to anything other than the corresponding page in the equivalent language.

Content and design

Find content and design specifications and visual examples.

Content specifications

Ensure that the language toggle links to the corresponding page in the alternate language.

Large screens

Small screens

For small screens, the language toggle uses a 2-letter abbreviation for each language:

Accessibility

Interactions

Design specifications

Accessibility

Visual examples

Language toggle (English page) - large screen
Image description: language toggle (English page) - large screen

Standard header of an English Canada.ca page with a highlight of the linked word Français in the top-right corner

Language toggle (French page) - large screen
Image description: language toggle (French page) - large screen

Standard header of a French Canada.ca page with a highlight of the linked word English in the top-right corner

Language toggle (English page) - small screen
Image description: language toggle - small screen

Standard header of an English Canada.ca page with a highlight of the linked abbreviation FR in the top-right corner

Language toggle (French page) - small screen
Image description: Language toggle (French page) - small screen

Standard header of a French Canada.ca page with a highlight of the linked abbreviation EN in the top-right corner

How to implement

Find working examples for implementing the language toggle.

GCweb (WET) theme implementation reference

The implementation reference includes how to configure each element of the header.

Implementations

Determine what best suits the type of page you're creating.

GC-AEM

For the Government of Canada Adobe Experience Manager (AEM):

CDTS

For the Centrally Deployed Templates Solution (CDTS):

Drupal WxT

For Drupal WxT:

Research and rationale

Consult policy rationale.

Policy rationale

As part of the global header, the language toggle is a mandatory element under the Content and Information Architecture Specification.

All Government of Canada communications must be available in both official languages.

Latest changes

Updated the guidance to include advice on what to avoid, content and design specifications, visual examples, implementation guidance, and policy rationale

Page details

Date modified: