The people who speak it get old and die off, and the younger generations for whatever reason do not learn it. Sometimes it’s social pressure (kids don’t want to be bothered learning a language their friends don’t speak) and historically there have been periods where languages of oppressed people’s have been criminalized to force them to adopt the “correct” language. If there are no new speakers to replace the old, the language dies with them.
Latest Answers