Skip to content
This repository was archived by the owner on Apr 22, 2024. It is now read-only.
This repository was archived by the owner on Apr 22, 2024. It is now read-only.

Feature Request: ignore paths in report (i18n:report --ignore one,another.path) #158

@caugner

Description

@caugner

Summary

I would like to ignore specific paths in the i18n:report.

Background

I have some components that fetch keys dynamically, e.g. <LanguageName code="de-DE" /> with {{ $t(`languages.${code}`) }}.

Problem

The i18n:report unfortunately doesn't account for these dynamic usages, and therefore marks

  • the usage as missing, and
  • the corresponding entries as unused (if they're not used anywhere else).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: ImprovementIncludes backwards-compatible fixes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions