(self, all_langs=False)
:param all_langs: check for all langs for translation, if False just the source lang
        :return: first resource slug that is found with pending translations
:param all_langs: check for all langs for translation, if False just the source lang
        :return: first resource slug that is found with pending translations
: param all_langs : check for all langs for translation if False just the source lang : return : first resource slug that is found with pending translations
def resources_pending_translations(self, all_langs=False):
        """
        :param all_langs: check for all langs for translation, if False just the source lang
        :return: first resource slug that is found with pending translations
        """
        check_for_lang = None if all_langs else self.source_lang
        for resource_slug in self.resource_slugs:
            if not self.client.translation_completed(resource_slug, check_for_lang):
                return resource_slug
def resources_pending_translations ( self , all_langs = False ) : check_for_lang = None if all_langs else self . source_lang for resource_slug in self . resource_slugs : if not self . client . translation_completed ( resource_slug , check_for_lang ) : return resource_slug