rename view function, add default locale