fix locale display of window title - issue #284