improves gettext header configuration. metadata and comments inherit from parent too.
adds javadoc