def __init__(self, sam_template, offline_fallback=True):
self.local_uri_plugin = SupportLocalUriPlugin()<EOL>self.extra_plugins = [<EOL>self.local_uri_plugin<EOL>]<EOL>self._sam_template = sam_template<EOL>self._offline_fallback = offline_fallback<EOL>
Parameters
----------
sam_template dict:
    SAM Template dictionary
offline_fallback bool:
    Set it to True to make the translator work entirely offline, if internet is not available