Added a method to get the player's locale