fix locales bug

bug-fix: save locales when a new has been created