use strip() to trim leading/trailing whitespaces of text/translation