Make the second argument to registerLocales optional