code: def get_first_language(self, site_id=None):
          
          if site_id is None:
              site_id = getattr(settings, 'SITE_ID', None)
  
          try:
              return self[site_id][0]['code']
          except (KeyError, IndexError):
              # No configuration, always fallback to default language.
              # This is essentially a non-multilingual configuration.
              return self['default']['code']
docs: Return the first language for the current site.
          This can be used for user interfaces, where the languages are displayed in tabs.