I've implemented a Select Language button on my website using the Google Translate API. Everything works fine but there is a problem with some strings after the translation happened.
It seems like when a string ends or starts with white space, after the translation, the white spaces get deleted, causing some text to be without spaces between words.
Do you have any idea how to fix this problem?
Thanks a lot in advance!!