def METHOD_NAME(self, *paths: str):
    """Register templates path translations files, like
    `select2/select2_locale_{lang}.js`.
    Only existing files are registered.
    """
    languages = self.config["BABEL_ACCEPT_LANGUAGES"]
    assets = self.extensions["webassets"]
    for path in paths:
        for lang in languages:
            filename = path.format(lang=lang)
            try:
                assets.resolver.search_for_source(assets, filename)
            except OSError:
                pass
                # logger.debug('i18n JS not found, skipped: "%s"', filename)
            else:
                self.register_asset(f"js-i18n-{lang}", filename)