calling trans in base views