Adding translation hook