i18n for pdf rendering fixing #2