Got rid of deprecation locale warning