Add a function to return a list of applicable locale names. (#95587,