add helper function to changeLangUrl.