title: language could not be found for tesseract in IOS (Swift)
body: <p>I am totally new to tesseract . So please don't mind if my question sounds a bit too nubby. I've downloaded tesseract using <code>cocoapod</code> and I've written the following code in my viewController : </p>
  
  <pre><code>import UIKit
  import TesseractOCR
  
  
  class ViewController: UIViewController ,G8TesseractDelegate {
  
      @IBOutlet weak var txtView: UITextView!
  
  
      override func viewDidLoad() {
          super.viewDidLoad()
          if  let tesseractOCR = G8Tesseract(language: "eng") {
              tesseractOCR.delegate = self
              tesseractOCR.image = UIImage(named: "test.png")?.g8_grayScale()
              tesseractOCR.recognize()
  
  
              txtView.text = tesseractOCR.recognizedText
  
          }
  
  
  
  
      }
  
  
      func progressImageRecognition(for tesseract: G8Tesseract!) {
          print("the regignision is in progress by \(tesseract.progress)+ %")
      }
  
      override func didReceiveMemoryWarning() {
          super.didReceiveMemoryWarning()
          // Dispose of any resources that can be recreated.
      }
  
  
  }
  </code></pre>
  
  <p>And then I went to the following link to download the English language . 
  <a href="https://github.com/tesseract-ocr/tessdata/blob/master/eng.traineddata" rel="nofollow noreferrer">https://github.com/tesseract-ocr/tessdata/blob/master/eng.traineddata</a> 
  and then moved the downloaded file to my project as you can see in the image <a href="https://i.stack.imgur.com/nAOmn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nAOmn.png" alt="enter image description here"></a></p>
  
  <p>Does any one know how can I fix this ? 
  Here is the error in the console : 
  Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory.
  Failed loading language 'eng'
  Tesseract couldn't load any languages!</p>