What is the relay/solution where I can filter for a specific language, or alphabet?
#asknostr
#devstr
What is the relay/solution where I can filter for a specific language, or alphabet?
#asknostr
#devstr
you can write a strfry plugin that does that
I would suggest to popularize people to post with language hashtags.
I use #turkce for when I post in Turkish.
#🇹🇷
Flags might be better. Some ppl might write #türkçe rather than #turkce and most of the clients aren’t sensitive to turkish characters. nostr:npub1gw3zhc5r5a7jfgl6yx8qv0nc9kset5ddkrka229c3tym5xltehlq58m7mm
Is there a content language tag in the NIPs yet? e.g. having the option for relays to index on an `l` tag that clients automagically inject into human-readable notes from environment data
Detecting content language by making API calls to some translation services seems expensive
Japanese relays have IP-based filter.
I want to know other ways. (I wonder how X/Twitter implements the lang filter in search.)
Bedankt!
Yes. You can test it using nfrelay.app as demo relay, elsat
wss://nfrelay.app/?lang=ja,th
/cc nostr:npub1s6z7hmmx2vud66f3utxd70qem8cwtggx0jgc7gh8pqwz2k8cltuqrdwk4c in the context of language filtered content, you can try out this relay (and use a client which only will show the content from this relay 🧐)
Yes, nostr client devs can also use directly classification events (NIP-32 kind: 1985) and filter kind: 1
Example:
nak req -k 1985 -t L=app.nfrelay.language wss://nfrelay.app
My proposal is to use ISO codes
the ISO code for all Turkic languages is [TRK]
Turkic languages ISO 639-5