Added function to detect the langauge query string value and retrieve the
relevant translations.