Después que se encendieron las luces de Janucá se acostumbra a recitar o cantar el himno Haneirot Halalu.

Hanerot Halalu Anu Madlikim
Al Hanisim Veal Haniflaót,
Sheasita Laavoteinu Baiamim Hahem Bazeman Haze,
Al Iedei Kohaneja Hakedoshim.
Vejol Shemonat Iemey Ha-Januka Hanerot Halalu Kodesh Hem,
Veein Lanú Reshut Lehishtamesh Bahem,
Ela Lireotam Bilvad, Kedei Lehodot ulehalel
Le-Shimja Ha-Gadol Al Niseja veal Nifleoteja Ve-Al Yeshuateja.
Traducción:
Encenderemos estas velas con motivo de las salvaciones, milagros, maravillas que has realizado con nuestros antepasados en aquellos días en esta época, por intermedio de tus santos sacerdotes. Estas luces son sagradas durante los ocho días de Janucá, y no nos es permitido emplearlas de ninguna manera sino solamente observarlas para agradecer y alabar tu nombre por tus milagros, maravillas y salvaciones.

I thought Hebrew NER/NEROTH was a MASCULINE noun, in spite of the plural -OTH, and should therefore be referenced not לְהִשְׁתַּמֵשׁ בָּהֵן but לְהִשְׁתַּמֵשׁ בָּהֵם
In the prior line, you use הַנֵרוֹת הַלָלוּ קֹדֶשׁ הֵם, which is correct.
Indeed, there seems to be some inconsistencies, as Commentaries note that it says also lir-oh-tahn not lir-oh-tahm. These two words are taken directly from Masechet Soferim 20:6, the first recorded text of this prayer. You can see other sources with this spelling/form listed in Siddur Rabeinu Hazaken Im Gilyonei Hasidur v'Iyunei Hasidur by Kehot Publication Society.