get Locale
Gets the appropriate locale for the command sender. If the command sender is a player, the forced language will be used if set and available, otherwise the player's locale will be used if available, else the default language will be used.
Return
The appropriate locale for the command sender.
Parameters
command Sender
The entity that executed the command.