どうしたんだ vs どうしたんだい

そうか vs そうかい

This kind of thing. Is it a formality difference? Is it dialectical/Regional?
Age related?
CC BY-SA 4.0
2019-10-02T05:45:06.733
72228
2019-10-02T19:02:58.780
35545
question
meaning usage
Adding -い at the end of questions
The i at the end is a shortened form of yo Sou kai = sou ka yo. Doushita ndai
= doushita nda yo.

Its slang.
CC BY-SA 4.0
2019-10-02T19:02:58.780
72237
2019-10-02T19:02:58.780
35552
72228
answer