It's not actually completely inherited. You inherit a risk, not the diabetes type I itself.
There are quite many factors which increase the risk of getting type I diabetes, in my current knowledge you get a type of enterovirus which will destroy the cells creating insulin. The virus can be transmitted earlier and it will activate after a few years, so in some cases, the signs can be seen even months before the diabetes actually "starts".
true.