i18n: Allow table headers to use translations

This patch is from Enrico Salsi.
Fixes #402