added translation support and handle plurals in header