You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Detect Language API Client [](http://travis-ci.org/detectlanguage/detect_language)
2
+
========
3
+
4
+
Detects language of given text. Returns detected language codes and scores.
5
+
6
+
## Installation
7
+
8
+
Add this line to your application's Gemfile:
9
+
10
+
gem 'detect_language'
11
+
12
+
Or install it yourself as:
13
+
14
+
$ gem install detect_language
15
+
16
+
### Configuration
17
+
18
+
Before using Detect Language API client you setup your personal API key.
19
+
You can get it by signing up at http://detectlanguage.com
20
+
21
+
If you are using Rails, create initializer `config/initializers/detect_language.rb` and add following code there.
22
+
Otherwise just integrate following code into your apps configuration.
0 commit comments