make sure preferences use translation locale before building - issue #176