Bavarian is not exactly an endangered language, nor is Latin.
And from the spelling, that's not Bavarian but standard German. It also contained a spelling mistake, but none that would make it any closer to how it's pronounced in the video, so I've corrected it.
'Know Who You Are' From Moana: Languages in order:
1-Sicilian
2-Montenegrin
3-Classical Latin
4-West Frisian (standard)
5-Bavarian
6-Mirandese
7-Gascon
8-Bosnian
9-Standard Occitan