parse profile and language;