improve locale widget