move locale display before try-clause for non-ttys