allow several locale in back / front + fix cs + refactoring