code: def load_sibling_sections(context, section, count=None):
      '''
      Returns all sibling sections
      If the `locale_code` in the context is not the main language, it will
      return the translations of the live articles.
      '''
      page = section.get_main_language_page()
      locale = context.get('locale_code')
  
      qs = SectionPage.objects.sibling_of(page).filter(
          language__is_main_language=True)
  
      if not locale:
          return qs[:count]
      return get_pages(context, qs, localef load_sibling_sections(context, section, count=None):
      '''
      Returns all sibling sections
      If the `locale_code` in the context is not the main language, it will
      return the translations of the live articles.
      '''
      page = section.get_main_language_page()
      locale = context.get('locale_code')
  
      qs = SectionPage.objects.sibling_of(page).filter(
          language__is_main_language=True)
  
      if not locale:
          return qs[:count]
      return get_pages(context, qs, locale)
docs: Returns all sibling sections
      If the `locale_code` in the context is not the main language, it will
      return the translations of the live articles.