Multilingual website design in Switzerland (DE/FR/EN): how do you stop the layout from snapping?
Picture this scene: a minimalist English mockup where every button lands cleanly and whitespace breathes. Then, two days before launch, French and German copy pour in: headlines crack mid-word, menus wrap onto two lines, the mobile grid gives way. In Switzerland, it happens all the time. Yet every bit of it is preventable from day one.
Easy ReadEasy-to-read summary
This article explains how to build a trilingual website (DE, FR, EN) without breaking the layout.
- French is often longer than English. German has very long words with no spaces.
- Test your layout early with real German and French text.
- In CSS Grid, use
minmax(0, 1fr)so narrow mobile screens never overflow. - Never give buttons a fixed width.
- In Swiss German, always write
ssinstead ofß. - For Google, give each language its own folder:
/en/,/fr/and/de/.
Why one language bursts the seams of another.
The same idea never wears the same silhouette across languages. English is brisk and compact; French stretches out for air, easily running 20 to 30% longer; German welds concepts into single monumental nouns with no spaces at all. Three temperaments, one viewport: friction is guaranteed.
Look at how ordinary interface labels expand across the three languages:
| Element | EN | FR | DE |
|---|---|---|---|
| Navigation | Work (4) | Travaux / Réalisations (12) | Ausgewählte Arbeiten (20) |
| Button | Get in touch (12) | Prendre contact (15) | Kontakt aufnehmen (17) |
| Short heading | Accessibility (13) | Accessibilité (13) | Barrierefreiheit (16) |
| Legal notice | Business ID (11) | Numéro d'identification (23) | Unternehmens-Identifikationsnummer (34) |
When a mockup is built strictly around “Work” and “Get in touch”, German and French feel squeezed into a room that was never sized for them. The problem is rarely the copy: it is the grid.
1. Design the grid for the hardest language first.
Before writing CSS, test your header, cards, buttons and headings with real German and French copy, never with Lorem ipsum or English alone.
Stress-tests long compound nouns inside narrow columns.
Stress-tests sentence expansion and line count inside cards.
Checks that concise copy never leaves awkward gaps.
2. In CSS Grid, always write minmax(0, 1fr).
This is the most common mobile layout trap. Writing grid-template-columns: 1fr 2fr actually behaves like minmax(auto, 1fr): the column refuses to shrink narrower than its longest unbreakable word. One long German noun or display heading pushes the entire layout past the screen edge.
/* Fragile: a long word can push the column past the viewport */
.grid {
display: grid;
grid-template-columns: 1fr 2fr;
}
/* Resilient: the column always stays within the screen */
.grid {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}
.grid > * {
min-width: 0;
}
The same rule applies in Flexbox: adding min-width: 0 on text containers prevents horizontal overflow that often stays invisible until you test on a real phone.
3. Break words cleanly, never randomly.
To stop overflow quickly, it is tempting to reach for overflow-wrap: anywhere. The downside is ugly mid-word splits without hyphens (TRANSCREATI / ON or ARCHITECTUR / E). Instead, combine the HTML language attribute with proper CSS hyphenation and fluid sizing:
<html lang="de"> <!-- required for the browser's hyphenation dictionary -->
h1, h2 {
font-size: clamp(1.6rem, 3vw, 2.8rem);
overflow-wrap: break-word;
hyphens: auto;
text-wrap: balance;
}
lang="en"/"fr"/"de"tells the browser which hyphenation dictionary to load.hyphens: autoinserts a clean hyphen only when a word truly needs to break.clamp()scales headings smoothly between phone and desktop widths so words usually fit without breaking at all.- Avoid
white-space: nowrapon headings: a short French heading may fit on one mobile line while the English or German equivalent clips off-screen.
4. Buttons, filters and menus: no fixed widths.
Never lock buttons to a fixed pixel width like width: 160px. Use horizontal padding, optional min-width, and let filter or button rows wrap cleanly with flex-wrap: wrap and consistent gap.
Keep top-level navigation concise (4 to 5 short items) with balanced labels across all three languages.
5. Check diacritics and Swiss typography early.
Before committing to a typeface, test French accents (é, è, ê, à, ç, œ), German umlauts (ä, ö, ü, Ä, Ö, Ü) and Swiss guillemets (« »).
ss instead of ß (gross, Strasse, weiss). Readers notice immediately whether a site was genuinely built for Switzerland or copy-pasted from Germany.
6. Multilingual SEO in Switzerland: subfolders, URLs and hreflang.
A resilient grid only pays off if search engines and AI search tools index all three versions cleanly:
- Dedicated language subfolders (
/en/,/fr/,/de/) on a single.chdomain rather than swapping text in JavaScript on one URL or forcing IP redirects. - Reciprocal
hreflanglinks on every page (en,fr,de, orde-CH/fr-CHwhen targeting Switzerland alongside separate Germany/France pages) plusx-default, and a self-referencingcanonicalper language. - Native titles, meta descriptions and
aria-labelattributes in every language, including screen-reader labels like Filters / Filtres / Filter.
Quick pre-launch checklist.
- Open every page in EN, FR and DE at real phone width (375–390px) and confirm zero horizontal scroll.
- Click every filter, menu and button in all three languages.
- Check that no heading splits mid-word without a proper hyphen.
- Verify
lang,title,meta descriptionandhreflangon every route.
A resilient multilingual site is never merely “translated” at the finish line. It is tuned like an instrument from the first sketch, language and grid moving in step. To see this craft in action, explore my transcreation and digital architecture services, the bilingual Studio BK case study, or the FAQ. Which language pushes your own layouts hardest?
Frequently asked questions.
How do you stop multilingual websites from breaking on mobile?
Design and test with real German and French copy from day one, use minmax(0, 1fr) in CSS Grid, pair hyphens: auto with the proper HTML lang attribute, scale headings fluidly with clamp(), and avoid fixed widths on buttons.
Should a multilingual Swiss website use subfolders (/en/, /fr/, /de/) or subdomains?
For a Swiss .ch domain, language subfolders (/en/, /fr/, /de/) are usually the cleanest SEO setup: all domain authority consolidates under one root domain while keeping each language cleanly indexed.
How should hreflang tags be set up for Switzerland?
Every language version needs its own URL, a self-referencing canonical tag, reciprocal hreflang links pointing to every language variant (e.g. en, fr, de, or de-CH and fr-CH if you also run separate Germany or France versions), plus an x-default fallback.