This excerpt contains a pun based on a Latin phrase. The original phrase is "Homo sapiens", meaning "wise man" or "knowing man" in Latin. Here, Terry Pratchett replaced "homo" (man) with "sodomy" (anal sex, vulgar slang) and "sapiens" (wise, knowing) with "non sapiens" (not knowing, ignorant). So the full pun phrase means "anal sex does not know", with a vulgar implication that someone engaged in anal sex has no idea what they're doing.
Albert then explains the pun in colloquial English as "I'm buggered if I know", meaning "I have no idea". Buggered here also has a vulgar slang connotation of being anally penetrated.
So in short, this is a pun exploiting the vulgar slang connotations of sodomy/buggered to twist the meaning of a Latin phrase into a crude joke.
In Czech, this could be translated as:
„Sodomie neví“, zašeptal Albert.
„Co to znamená?“
„Jsem v prdeli, jestli vím.“
Here I used "sodomie" for sodomy, "neví" for "non sapiens" (does not know), "v prdeli" for "buggered" (in trouble/screwed, vulgar slang), and "jestli vím" for "if I know". So the full Czech pun means "anal sex does not have a clue, I'm screwed if I know". The meaning and vulgar implication are preserved in translation.
Please let me know if you would like me to explain or expand on any part of this analysis and translation. I aimed to fully convey the meaning and wordplay while matching the overall tone and vulgarity level of the original excerpt.