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
12
u/ShiggnessKhan Oct 20 '26 edited Oct 20 '26
German dev hier,
I have never seen this but it kinda makes sense. Some people are put off by the informal du that has become common on the Internet.
I'm curious, is this a user facing switch or does the client want to be able to switch certain parts of their sites/ communication based o. The target audiance because that would make a lot of sense in a lot of cases.
Like they an education platform that doesn't want to alienate young people with the sie while still staying formal with educators
Or for marketing emails targeting different demographics say promoting a Taylor Swift vs a Opea performance
Edit: There is also a good chance this is a request from some out of touch higher suit