In Serbian the Earth is female, the Sun is neutral and the Moon is male.
Same in Polish, another Slavic language. And in Russian too.
Gender is nothing more than the endings of words which assign them to a certain gender.
In a Cardassian library
or in a Cardassian gallery
"Reagan, it appears, is really only an ardent unionist if the unions in question are in Poland" - Stephen King, Skeleton Crew