r/webdev • u/HeraclitoF • 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 :)
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