auto-generate the correct <date> translation