There are 3rd party language recognition libraries. Search for those.