docs: def locale(self):
          """The locale the server is running on.
  
          Returns:
              str: the locale of the remote server if detected, or `None`.
          """
          if self.platform in ("linux", "darwin", "freebsd"):
              locale = self._exec_command('echo $LANG')
              if locale is not None:
                  return locale.split(b'.')[-1].decode('ascii').lower()
          return None