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 :)
49
u/LutimoDancer3459 Oct 20 '26
Just add i18n support and use each form in its own file.
84
u/Cyxxon Oct 20 '26
As a German, I have never seen that on any local website, so no, not normal. It probably exists, but would be weird: either it is from a brand aimed at young people - du, or not - Sie. But are you building their website or are you their marketing consultant? :D
27
u/bcons-php-Console Oct 20 '26
In Spanish we also have the formal and informal modes (Tú / Usted), but in many years never a client asked me to do this.
When defining the project a mode is decided and that is the way you "talk" to your users in toasts, messages, emails, etc.
11
u/Successful_Entry_792 Oct 20 '26
have you looked at using a private use subtag like de-DE-x-informal instead of de-DU?
11
u/Temporary-Airport302 Oct 20 '26
It's a common request in German shops, but don't build it as a language switch. Du/Sie is a tone, not a locale, so put it outside the language menu or you'll end up with a four-way matrix of nonsense. Cookie it, default to Sie for anything B2B, and no, nobody asks for a street slang switcher.
5
u/leon_pylo Oct 20 '26
Never had a customer ask for a switch between those two and while it is easy to do, it's probably a signal for the customer not having their brand clear (it's usually part of the brand guide / CI if customers are addressed formally or informally)
4
u/SELBSTST4ENDIG Oct 20 '26
Die Anrede ist Teil der Corporate Identity und braucht keinen Switcher.
2
u/Mean-Lingonberry4874 Oct 21 '26
de-DU isn't a locale. DU isn't a region, so anything that actually parses BCP 47 (Intl, a lot of XLIFF tooling, the browser's own fallback) will not treat it as German. You lose de-DE as the fallback for dates, plurals, and any string you forgot to translate, and those come out in English or raw keys.
Use the real locale plus a private-use tag: de-DE for Sie, de-DE-x-du for Du. Numbers and dates stay German, and a missing Du string falls back to the Sie file instead of to English. A dialect would be the same shape, de-DE-x-kölsch, not another made-up region code.
I'd also keep it off the EN/DE switch. It's a tone, not a language, and a fashion site usually just picks one. If the customer really wants both, a separate control stops the browser from being told that "Du" is a language.
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
5
u/jam_pod_ Oct 21 '26
I get it but also this is hilarious.
“This website is too informal! You shall address me as a man of substance, computer!”
3
u/NickHatBoecker Oct 20 '26
If it's some kind of construction or build kit project in which the customer builds their own website/app/game then the possibility to switch between Du/Sie for texts is common, because every project could be different. But I have never heard of a Du/Sie switch on a website/app/game for end users (I'm from Germany and work as a web developer)
2
u/Miki_Mimikri Oct 25 '26
LOL, that's insane, I wonder when clients start asking for a questionaire form about the personal preferences of the visitor. "Are you okay with the website addressing you in an informal way?". "Do you have a sense of humour?", "From 0 to 10, how uptight are you?", "Are you okay with sarcasm?", "Do you prefer the decorative group photos to be with just white people, or one black guy, or mix of races?". I can go on for hours probably, but still, freaking hilarious.
2
u/perskes Oct 20 '26
Ha! Thats a funny one I've never heard about. Im familiar with this from some sign-up forms where you can decided if you want to be addressed formally (Sie, Herr/Frau) or infomal (leave the name out completely and just write Hi/Hey/..), but even thats unnecessary in my opinion. But I've never seen this on a public facing website.
However, in the product we build, we have templates, and the templates have various translations you can change to your liking, and it is not unheard of that, depending on the customer segment, our customers change how they adresse their clients (old and wealthy vs young). But thats on private pages, where you can tie a lot of the texts to information stored in the product or where you can store how to be addressed.
A du/sie switch would be odd for me. How would you implement it? Auto-Detect language and then open a modal asking them if they prefer formal vs informal? Or an on-demans switch next to the language selection? I can imagine that this would confuse people because its not a common feature.
Im curious if people with with other native languages handle that or if they ever had a request like that.
I've never seen a street/slang language switch, but my ISP has a "need mode" toggle that adds additional (and well written, informative) details to the regular website, but thats easier, its just showing/hiding additional text.
2
u/kemalios Oct 20 '26
Ask who maintains the copy after launch. The switch itself is an afternoon; the problem is that every new text and email now exists twice, and in a year only the du version will still be edited. Check what sits outside the CMS too. Checkout, order confirmation and legal notices usually come from a different system and will stay in one tone.
2
u/geoffreybyers Oct 20 '26
Fake language codes break translation engines. Put the Du-Sie switch in the translation pipeline, not the localization config. Formality's a separate dimension.
2
u/tim_reddity Oct 20 '26
Wordpress does this in its admin interface.
2
u/jam_pod_ Oct 21 '26
I get it but also this is hilarious.
“This website is too informal! You shall address me as a man of substance, computer!”
2
u/SuedJche Oct 21 '26
Lol, that's funny. Totally irrelevant, but clever if it's a marketing thing, i would probably send that website to people to show them the feature
2
u/RobinNyan Oct 21 '26
Oh that's actually super cool! I am german and I love the idea :D Great idea from your client
2
u/Lagoda__ Oct 20 '26
I have never ever seen or heard about that and I'm an Austrian web dev. 😅
1
u/yihuaxiang Oct 20 '26
For a small fashion site I'd treat Du/Sie as a tone switch, not a real language. de-DU isn't a locale anyone else uses, so a language switch will confuse hreflang and you split one page into two in search. One German catalog plus a toggle (cookie or localStorage) that swaps the string file is enough.
The part that bites is the verbs, not the pronoun. "kaufst du" vs "kaufen Sie", and the same voice has to show up on buttons, form errors, and the order email or checkout feels like a different shop. If they insist on both, ask which pages are Du (lookbook) and which stay Sie (checkout, returns, legal). Most German fashion brands just pick one.
1
u/T-J_H Oct 20 '26
Dutch here. Never seen this on a Dutch website myself (even though we have ‘U’ (Sie) and ‘Jij’ (Du) and some variations), and I feel like most brands deliberately choose a tone: more formal or less so, as part of their brand identity. A switch like this would feel off to me.
Then again, you likely don’t have a say in the matter. There’s probably two simple ways of doing it, either as a separate locale, or as variables of the German locale. The former one sounds a lot more convenient, as it only requires copying and changing sentences to a new locale, even though most of it would be redundant. With variables you might get into conflict with further grammar(?) but I’m not sure as German classes have been a long time ago for me.
1
u/CashKeyboard Oct 20 '26
I have had several customers who e.g. had an opinion on software duzing them but wanting a switch seems like the most unhinged solution to a problem that isn't really one in the first place. The formal/informal switch isn't really a matter of locale.
Technically it's just another language. I would stick to conventions as the closest thing to non-existing standards in this case. WordPress internally uses "de-DE" for informal and "de-DE-formal" for Sie and I'd probably just adopt that. It's been meanwhile not just used in WP but also in various other softwares also meaning your LLM agents will probably know what to do with it as well. "de-DU" would kind of stump me and I'd probably expect German (Duisburg) or something.
1
u/theLorem Oct 20 '26
Back end ye olden days of the web phpBB forums had a "German (du, formal)" and a "German (Sie, informal)" switch when selecting the language. So it's nothing new, but on the modern web I'd say it's unusual
1
u/MagicWolfEye Oct 20 '26
I remember that in the past (to lazy to check now) if I switched from google British to goole American it switched from "Hello Mr. last name" to "Hello first name"
1
u/Andrew-Carson Oct 20 '26
consider adding a toggle for the Du Sie switch that's distinct from the language menu. it’s more about tone than localization, so keeping it separate helps avoid confusion. also, if the client’s target audience is younger, using Du might resonate better, but for most businesses, Sie is the safer bet...
1
u/gxrphoto Oct 21 '26
No, it’s ridiculous. Companies should decide how they want to address their clients
0
u/JJnazzz Oct 20 '26
In Germany „Du“ is the word for „you“ the same as „Sie“. The big difference is in the politeness. If you talk to people in a business context or talk with ppl you dont know and want to be polite you use „Sie“. Du is used by any normal person and is considered more on a friendship level.
I know french has a similar thing with „toi“ and „vous“
0
u/dryadofelysium Oct 20 '26
this looks terrible. what you want to do is have an option asking about whether your customers prefers informal salutation or not.
0
u/Commercial_Echo923 Oct 20 '26
No, i would recommend deciding on using either formal or nonformal speak depending on your app.
What do you even need it for?
-1
u/TechnologyAI Oct 20 '26
Why not just keep Sie ? This is an official communication.