"Thank you for this night and for all the others."
Translation:Gracias por esta noche y por todas las otras.
The complete sentence would be: Gracias por esta noche y por todas las otras "noches". Obviously you exclude "noches", because otherwise it would be redundant. "Noches" is a feminine noun in its plural form, therefore its adjectives have to be in their feminine plural form.