Took an example from the Japanese. I wrote a function to check a language of a note kind 1.
Need to decide what to do with the other kinds and test under load.
Not really a fan of relay as a community, but if it works for the Japanese, I should give it a try.