[DEV-1954] Fix variable assignment in trans tag.