Austria-Hungary lost the war for a number of reasons, but ethnic/linguistic diversity certainly didn’t help, especially after the massive casualties of the initial months. Pre-war, units usually had linguistic cohesion, but when they the refilled the ranks, not so much.
Of course, Conrad Von Hotzendorf may have played a bit of a part...