def __init__()

in library/scripts/string_pack_config.py [0:0]


    def __init__(self):
        # The project module that string packs are used for.
        self.module = None

        # The directories above the Android resources directories, where the script can find values/strings.xml and values-xx/ directories.
        # (i.e. app/src/main)
        # These directories will also hold the files of the packable strings.
        # FIND operation checks each directory's res subdirectory for values/strings.xml and values-xx/.strings.xml files. The ids are stored in pack_ids_class_file_path.
        # MOVE operation moves packable strings found in FIND to the directory's string-packs/strings subdirectory.
        # PACK operation packs the files in the directory's string-packs/strings subdirectory into .pack files in assets_directory.
        self.original_resources_directories = []

        # Executable command line that returns all resource files for parsing movable strings.
        self.find_resource_files_command = None

        # List of languages that need to be packed, or ["*"] means all languages.
        self.languages_to_pack = []

        # List of languages that don't need to be packed, and they could be safely removed.
        # e.g.: "zh-rTW" could be drop if "zh-rHK" is set the same, the app would pick it correctly.
        self.languages_to_drop = []

        # The full class name of custom widgets that are already using StringPack resources reader.
        self.safe_widget_classes = set()

        # The assets directory where to save the generated string pack files.
        self.assets_directory = None

        # File path to the class where stores the map from android string key to pack id.
        self.pack_ids_class_file_path = None

        # A dictionary that maps a specific language to its pack ID. The default pack ID is the language code, but the
        # app may decide to pack similar languages to one pack file.
        # For example, it may save space to pack Czech and Slovak in one pack file, assuming the app knows where to
        # look for them.
        self.pack_id_mapping = {}

        # The directory that holds all the python scripts
        self.pack_scripts_directory = None