RubyFlow The Ruby and Rails community linklog

Detect the language of a string

Matt Aimonetti just posted a short blog post showing how to detect the language of a string with MacRuby in less than 10 LOC. "Happy new year!".language # => "en"

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in