updated localeapp to pass tests