dnd backgrounds that give languages
https://futuretranic.com/how-to-get-the-most-languages-5e-in-world/
These languages can just be spoken by participants of that class or race, but the DM can make an exception if the personality is very effective. If the DM has unique factors for making the language a secret language,