i18n header improvements

- escape header strings by using Generator escape method
- emit nice warning when translation method wasnt found
i18n header test