Trim spaces in language() input