Skip to content

Ignore Folders? #30

@shawnwildermuth

Description

@shawnwildermuth

We have a large number of pages that won't be localized. Is there a way to tell the plugin to ignore certain folders? (Mostly to just stop you from scanning it and showing a warning). For example:

  cfg.addPlugin(i18nPlugin, {
    translations,
    ignores: [              // <---- New API?
      "/stories/**/*",
      "/tags/**/*"
    ],
    fallbackLocales: {
      '*': 'en'
    }
  });

Is there any way to accomplish this without a PR? Otherwise, I'll put in a feature request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions