Generally the "rule" in English is the same as the one in German: a double consonant ensure the preceding vowel is pronounced the short way rather than the long way.
The saddest sadist, the matter of maters, and the bitter biter, for example.
German dialects are rarely written and if they are they are written different from Standard German. The written German language is very phonetic and if you know the rules you know exactly how a word is supposed to be pronounced.
In germanic languages, they actually do. Schwarzeneger (single g) would be pronounced Schwarzen-_e_-ger, with a long and pronounced e.