log problematic query
use the default language if the one in the session is not supported
Merge remote-tracking branch 'origin/appkit_5.1' into eugen_Maven_Scripts