Legislation to allow children who have died as a result of murder or manslaughter to be publicly named is expected to be enacted by the end of the month.

The Minister for Justice has welcomed the passage of the amendment to the Children Act through all stages in the Seanad, allowing it to now go through the Dáil.

The Court of Appeal ruled in October last year for the first time that a section of the Act that prevents a child who was the victim of an offence from being identified also applied to deceased children.

This meant that a child could not be named in any case where someone was charged with killing the child.

In some cases it also meant the alleged perpetrator could not be named either.

The ruling has also affected child victims of sexual abuse or rape who are now adults and wish to come forward publicly or who want their abuser to be publicly named.

Minister Helen McEntee thanked senators for progressing the proposed amendment, which she said would allow grieving parents to speak publicly about their deceased child and remember them the way they wanted to.

She said the amendment would give power back to parents to remember their children and secure their children's legacies.

The amendment will also allow child victims of crime who are now over 18 to waive their anonymity or have their abuser named.

The minister said the amendment was a "real reflection" of the concern for parents who have lost their children in the most tragic of circumstances and the impact of not being able to speak about their children in public was having on the grieving process.