This anthem appears to have been used while Madagascar was a kingdom (known as Imerina), until the French protectorate began in 1896. The anthem mentions Queen Ranavalona; Ranavalona III was the last Queen of Madagascar, ruling from 1883 until the French colony was established (before her, from 1868-1883, was Ranavalona II); it is presumed that, if the anthem predates the rule of Ranavalona II and III, that the lyrics may have been altered to mention the current ruler’s name (in much the same fashion as the Austro-Hungarian anthem was).
Special thanks to: Esther Simon for some of this information and the lyrics and translation, and Pavel Zinovatny for additional information and the music file.