When no customer is assigned to the user, no frontend info message is provided to the user.
Move the translate variable above the customer's check.