Language documentation doesn't completely change the social environment, but can indirectly enhance the language's prestige, e.g. by devising a writing system that then gets adopted in education and media and by raising awareness that "different" doesn't necessarily mean "wrong". It also means that children who grew up without learning their parent's mother tongues but want to learn them later in life can use the material collected as part of language documentation for studying.