# Auto detect language

**URL:** <https://discuss.elastic.co/t/auto-detect-language/32437>\
**Category:** Elasticsearch\
**Created:** [October 17, 2015, 7:29pm UTC](https://discuss.elastic.co/t/auto-detect-language/32437 "2015-10-17T19:29:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pran](https://avatars.discourse-cdn.com/v4/letter/p/76d3ee/32.png) [@pran](https://discuss.elastic.co/u/pran)\
**Post date:** [October 17, 2015, 7:29pm UTC](https://discuss.elastic.co/t/auto-detect-language/32437/1 "2015-10-17T19:29:21Z")

</div>

I am crawling content and using Tika parser to extract the content meta data and body of content(doc, pdf, excel etc) I need to send it to elasticsearch to index. i have a field called ;language'.where I need to specify the language of the content. I have two fields 'content' and 'title' on which I need to detect the language. is there any way I can do it?

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [October 17, 2015, 8:07pm UTC](https://discuss.elastic.co/t/auto-detect-language/32437/2 "2015-10-17T20:07:38Z")

</div>

You can try my plugin

> **[jprante/elasticsearch-langdetect](https://github.com/jprante/elasticsearch-langdetect)**
>
> elasticsearch-langdetect - A plugin for language detection in Elasticsearch using Nakatani Shuyo's language detector

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:44pm UTC](https://discuss.elastic.co/t/auto-detect-language/32437/3 "2017-07-05T23:44:12Z")

</div>


