refactoring switch frontend locale on form 2