provide a way to detect the language that is being used (e.g. for clientside javascript language selection