frontend: fix bug in locale detection

In PR #320 I made a mistake and used `self.DEFAULT_OCR_LANG`, which should have been only `DEFAULT_OCR_LANG`.
Sorry about that.