Bugfixes

bugfixes for translations and MySQL socket connections