Removed trans function in BaseForm. some modules already define this function with a different signature