code: def setup(__pkg: ModuleType) -> Tuple[Callable[[str], str],
                                        Callable[[str, str, int], str]]:
      
      package_locale = path.join(path.dirname(__pkg.__file__), 'locale')
      gettext.install(__pkg.__name__, package_locale)
  
      return gettext.gettext, gettext.ngettext
docs: Configure ``gettext`` for given package.
  
      Args:
          __pkg: Package to use as location for :program:`gettext` files
      Returns:
          :program:`gettext` functions for singular and plural translations