Move i18n calls out of public header

Authored by kossebau.