updated translations, fixed SQL issues