I think this is misleading: Dialects exist but they don’t change the rules of standard German grammar. In German, only “die Butter” is correct, regardless of where you are. Upper Bavarians may use “der Butter” but there’s an understanding that this is dialect, and not correct German. It’s fine in daily usage but not in more formal speech or in writing.
(A better example is “Mus”, which has multiple correct genders.)
German is a lot more prescriptive than English. This is only different for neologisms and anglicisms (“Newsletter”), where a generally accepted gender hasn’t been established through usage yet (Duden now lists “Newsletter” as masculine, but both “die Newsletter” and “das Newsletter” were common until recently).