Revert "always print FATAL and ERROR logmessages to STDERR"

This reverts commit c4d629ad86aae3b8bb4669650df57875252bea92.
gettext: change depricated and removed setlocale