Posting in the same language as forum's language


(Azaleas) #1

Hi all,

My question is regarding this scenario:

If the forum is in English and all the discussions are made in that particular language, is there a way to automatically block posts in other languages? Like, if a user creates a new topic or posts a reply, there going to be a rule which will check the language of the entry. And if the language is different than English the user will be notified accordingly.

The reason why I’m asking this question is that we are planning on creating two separate forums for two different languages. And we would like to avoid this kind of issue and forward the user to the forum with appropriate language.


#2

I think you must educate your readers.

Or… apply something like Detectlanguage.com API in your forum.
Right now, discourse does not use something like that.

May be, if you post this request into #marketplace some semi-god from ruby could apply it.
I’m not sure.

Regards

Ps, others API’s:

  • http://www.basistech.com/text-analytics/rosette/language-identifier/
  • http://www.lextek.com/langid/
  • https://github.com/shuyo/language-detection/blob/wiki/ProjectHome.md
  • https://cloud.google.com/translate/docs/?csw=1 (google translate API docs)