JExcellence
JExcellence
Full-stack · Oldenburg
PROCESS · 5 MIN READ

Switching a German website from Sie to du and checking that nothing is left

Where the formal address sits on a German website, why find and replace fails, what may stay formal, and how one grep finds the leftovers.
Justin EiletzNovember 20, 2026

Until 18 November 2026, jexcellence.de addressed its German readers in two ways. The pages and the privacy check used the formal "Sie", part of the blog used the informal "du". That day the decision was made to use "du" everywhere. This post shows where the form of address sits on a website, why find and replace cannot do the job in German, and how to check at the end that nothing is left.

Count first, then change

Before the first edit came a search for eight word forms: Sie, Ihr, Ihre, Ihnen, Ihrem, Ihren, Ihres and Ihrer. The result in the repository of the website:

  • 83 lines in the German message file i18n/messages/de.json
  • about 60 lines in the components and texts of the privacy check
  • 17 lines in the separate scan service that builds the report mail, the confirmation mail and the PDF report

The total matters less than the spread. Change only the message file and you get a website that says "du" and an email that opens with "Ihr Datenschutz-Check".

Where the address sits

On this site there were five kinds of places:

  1. Visible page text. Headings, paragraphs, buttons, form hints.
  2. Meta descriptions. They are not on the page, but they are in the search result. The description of the startup page contained "der Code gehört Ihnen".
  3. Legal texts. The privacy policy addressed its readers formally as well.
  4. Strings in code. The explanations for the rules of the privacy check are not in the message file. They are string literals in TypeScript files.
  5. Emails and PDF. A different service produces them, with its own code and its own deployment.

The change to the pages and the check ended up as one commit across 20 files with 159 changed lines. The blog followed in a second commit: four older posts and two lines of the message file.

Why find and replace fails

In German the verb changes with the form of address. Three lines from the change:

Before
After
Von der ersten E-Mail bis zum laufenden Betrieb sprechen Sie mit derselben Person.
Von der ersten E-Mail bis zum laufenden Betrieb sprichst du mit derselben Person.
Schreiben Sie mir, worum es geht.
Schreib mir, worum es geht.
Fünf Projekte, die Sie sich live ansehen oder selbst ausprobieren können
Fünf Projekte, die du dir live ansehen oder selbst ausprobieren kannst

"sprechen Sie" becomes "sprichst du". The imperative "Schreiben Sie" becomes "Schreib" with no pronoun at all. In the third line three words change: "Sie", "sich" and "können". Replacing "Sie" with "du" would have produced "sprechen du".

The second trap is the lowercase "sie". It means "they" or "she" and has to stay, as in "Besucher wissen dann nicht, an wen sie sich wenden können". At the start of a sentence both look the same. So every match has to be read by someone who knows German.

There was a side effect. A sentence that gets rewritten also gets reread. Three of the rewritten lines lost their en dashes on the way.

What may stay formal

Two texts were left alone on purpose.

The consumer withdrawal notice. It follows the statutory model text in Annex 1 to the EGBGB, and the model addresses the consumer as "Sie". Under Art. 246a § 1 (2) EGBGB a business can meet its information duties by sending that model "zutreffend ausgefüllt", meaning correctly filled in. A "du" version would be a text of its own and no longer the model. So the notice stayed as it was. This is not legal advice. It is the reason for the decision on this site.

The internal notification. The email the scan service sends to the site owner after a confirmed contact request is not text for visitors. It was not changed.

Write such exceptions down, in the commit or in the project documentation. Otherwise someone will take them for an oversight in six months and "fix" them.

A test that expected the old wording

One test in the scan service checked that the report mail contains the line "So beheben Sie es". After the change the line reads "So behebst du es", and the test had to change with it. The test was not wrong. If you pin copy in tests, expect a change of address to show up there.

The merge that brought one line back

Several changes to the same message file were open that morning. One had replaced dashes in page titles, including the title of the startup page. The meta description of that page sits on the next line of the file, and that was a line the "du" branch had changed.

When the branches were merged at 09:48, Git reported a conflict in that file. After it was resolved, the merge commit held the old description again: "der Code gehört Ihnen", with an en dash between 8 and 10 weeks. Every other line arrived correctly. Lint, type check, 93 site tests and 111 scan service tests passed, because no test checks the form of address. The line only showed up when every changed line of the merged branches was compared with the main branch afterwards. It was corrected in its own commit at 09:51.

The lesson: the search from the start is also the acceptance check at the end, and it has to run after the last merge, not before it.

The search as acceptance check

The -w switch matches whole words only, so "Siegel" does not count. On 20 November 2026 this command returns two lines in the repository, both in the withdrawal notice. In the code one file remains, the internal notification. Those are the two documented exceptions. The home page at /de served "sprichst du mit derselben Person" and "Schreib mir, worum es geht" on the same day.

For your own site

  • Count first. Search for all eight word forms in every directory, including the ones where emails and PDFs are built.
  • Read every match. The verb changes, the lowercase "sie" stays.
  • Remember the meta descriptions. They show in the search result, not on the page.
  • Write down the exceptions and the reason for each.
  • Repeat the search after the last merge and after the deployment of every service involved.
CONTENTS
anrede
du oder sie
website-texte
i18n
next-intl
git
Did this article raise a question about a project of your own? A 30-minute conversation about it is free and non-binding.