(self, domain, app_id, source_lang, project_slug, version=None, lang_prefix='default_',
                 resource_slugs=None, is_source_file=True, exclude_if_default=False, lock_translations=False,
                 use_version_postfix=True, update_resource=False)
:param domain: domain name
        :param app_id: id of the app to be used
        :param source_lang: source lang code like en or hin
        :param project_slug: project slug on transifex
        :param version: version of the app like 10475
        :param lang_prefix: prefix if other than "default_"
        :param resource_slugs: resource slugs
        :param is_source_file: upload as source language file(True) or translation(False)
        :param exclude_if_default: ignore translation if its same as the source lang when pushing target langs
        :param use_version_postfix: use version number at the end of resource slugs
        :param update_resource: update resource file
:param domain: domain name
        :param app_id: id of the app to be used
        :param source_lang: source lang code like en or hin
        :param project_slug: project slug on transifex
        :param version: version of the app like 10475
        :param lang_prefix: prefix if other than "default_"
        :param resource_slugs: resource slugs
        :param is_source_file: upload as source language file(True) or translation(False)
        :param exclude_if_default: ignore translation if its same as the source lang when pushing target langs
        :param use_version_postfix: use version number at the end of resource slugs
        :param update_resource: update resource file
: param domain : domain name : param app_id : id of the app to be used : param source_lang : source lang code like en or hin : param project_slug : project slug on transifex : param version : version of the app like 10475 : param lang_prefix : prefix if other than default_ : param resource_slugs : resource slugs : param is_source_file : upload as source language file ( True ) or translation ( False ) : param exclude_if_default : ignore translation if its same as the source lang when pushing target langs : param use_version_postfix : use version number at the end of resource slugs : param update_resource : update resource file
def __init__(self, domain, app_id, source_lang, project_slug, version=None, lang_prefix='default_',
                 resource_slugs=None, is_source_file=True, exclude_if_default=False, lock_translations=False,
                 use_version_postfix=True, update_resource=False):
        """
        :param domain: domain name
        :param app_id: id of the app to be used
        :param source_lang: source lang code like en or hin
        :param project_slug: project slug on transifex
        :param version: version of the app like 10475
        :param lang_prefix: prefix if other than "default_"
        :param resource_slugs: resource slugs
        :param is_source_file: upload as source language file(True) or translation(False)
        :param exclude_if_default: ignore translation if its same as the source lang when pushing target langs
        :param use_version_postfix: use version number at the end of resource slugs
        :param update_resource: update resource file
        """
        if version:
            version = int(version)
        self.version = version
        self.domain = domain
        self.app_id = app_id
        self.key_lang = "en"  # the lang in which the string keys are, should be english
        self.lang_prefix = lang_prefix
        self.project_slug = project_slug
        self._resource_slugs = resource_slugs
        self.is_source_file = is_source_file
        self.exclude_if_default = exclude_if_default
        self.source_lang = source_lang
        self.lock_translations = lock_translations
        self.use_version_postfix = use_version_postfix
        self.update_resource = update_resource
def __init__ ( self , domain , app_id , source_lang , project_slug , version = None , lang_prefix = 'default_' , resource_slugs = None , is_source_file = True , exclude_if_default = False , lock_translations = False , use_version_postfix = True , update_resource = False ) : if version : version = int ( version ) self . version = version self . domain = domain self . app_id = app_id self . key_lang = "en" # the lang in which the string keys are, should be english self . lang_prefix = lang_prefix self . project_slug = project_slug self . _resource_slugs = resource_slugs self . is_source_file = is_source_file self . exclude_if_default = exclude_if_default self . source_lang = source_lang self . lock_translations = lock_translations self . use_version_postfix = use_version_postfix self . update_resource = update_resource