Also cleanup trailing slash if there is one on language domain.
Missing space for coding standards.
Merge pull request #2964 from freeform/CRM-14489

Also cleanup trailing slash if there is one on language domain.