add language detector, but some trouble whith db