Thread:User talk:CodeCat/Accelerated infected form generations for Russian?/reply (4)

It works by reading a span tag that has certain classes in it like form-of, genitive-form-of and such. I think one of those is the language.