Add tag function in the translator