Skip to content
[Archived] A wrapper around Google's compact language detector.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

This little addon is based on Google's own language detector in chrome.

It wraps this library

See the example.

Note that the binaries and headers linked in the Project.xcconfig.

To compile the library from the above source for your platform, you might try something like this:

./configure CFLAGS=-m32 CXXFLAGS=-m32 --enable-static=yes --prefix="<THE PATH TO>"/ofxLanguageDetector/libs/cld"
make install

For osx/linux (and maybe even windows), you may also need to add:

#define CLD_WINDOWS 1

to this file:

before or after you install so it doesn't pick up the windows references.

More discussion of that here:

You can’t perform that action at this time.