As it happens I also used to speak Indonesian, although I unfortunately forgot that somehow, despite learning it very early. German, Dutch and Afrikaans stuck since they're basically the same as you say.
I guess the racism is mostly due to growing up in Pretoria while apartheid was ending, and my stuffy old family and everyone around me was still using the k-word and stuff like that :/ Getting out of SA was my first real act of self-agency and I haven't regretted it for a second. On the contrary, when I look on social media at how the people who never left my hometown are doing... it's so grim over there. Left a sour taste for sure, and I don't mean to say that all Afrikaners are racist.