added translation function to heading