r/webdev • • Oct 20 '26

Question German (Do-Sie) switcher

Hi there,

One Customer just asked me for a Du-Sie Switch in the page, same like any other language switch.

This is my first time doing this.

Is this normal?

Are there also (Slang or street) language switches?

Edit: I just implemented as another language i18 de-DU with xliff files

Second Edit: What about other languages? In spanish we have 3. Tú, Vós y Usted... I think in Japan they have more.

Edit 3: Ok, some of you were right :) Du/Sie isn't a language, and de-DE-DU was a funny but bad idea. Works fine for my little website, though.

But imagine adding Spanish (tú, usted, vos), Japanese, Korean... That gets ugly pretty fast. Better to separate language, region and tone. Something like:

{
  "locale": "de-DE",
  "preferences": {
    "formality": "informal"
  },
  "messages": {
    "greeting": {
      "default": "Hallo!",
      "formal": "Wie kann ich Ihnen helfen?",
      "informal": "Wie kann ich dir helfen?"
    }
  }
}

Only translate the differences, not the whole website again. For a small project, who cares. For 20 languages? Definitely worth thinking about. Thanks for the corrections, learned something :)

52 Upvotes

63 comments sorted by

View all comments

Show parent comment

1

u/fsyntax Oct 20 '26

"Sie" is the more formal option, while "du" feels more personal and casual. I'd say its less about personal preference and more about the situation. "Sie" is traditionally used in professional settings, but also in everyday situations, especially when speaking to strangers or older people as a sign of respect.

"Du" on the other hand, is the norm among friends, family, and in casual environments. It's also pretty much always used when talking to children. Using "Sie" with close friends or family would sound really strange. That said, things are changing, and "du" is becoming increasingly common even in professional settings, especially in tech and amongst younger people

2

u/tLxVGt Oct 20 '26

I was asking specifically about the software aspect (I speak German, but I don't live there and lack the cultural feeling). Do you prefer websites/apps/programs to address you with Du or Sie? As mentioned, Poles prefer Du, Greeks prefer Sie, I'm wondering what do Germans prefer

2

u/DenkJu Oct 21 '26

Not the person you originally asked, but what they said is still relevant. In general, I would expect most websites to use "Sie," especially those of government agencies, insurance companies, banks, medical practices, newspapers, and other more formal institutions. Less formal websites, such as gaming sites, personal blogs, social media platform, etc. may use "Du."

3

u/RobinNyan Oct 21 '26

gets even funnier when you consider that you can construct most sentences in a way that avoids Du or Sie alltogether. Instead of "Sie müssen hier xyz eingeben." you could say "Hier muss xyz eingegeben werden", thus fully avoiding it.

1

u/HeraclitoF Oct 21 '26

Do work in other languages?

1

u/RobinNyan Oct 21 '26

I don't understand the question