Skip to content
This repository has been 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

Open
caugner opened this issue Nov 26, 2020 · 0 comments
Labels
Type: Improvement Includes backwards-compatible fixes

Comments

@caugner
Copy link
Contributor

caugner commented Nov 26, 2020

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).
@kazupon kazupon added the Type: Improvement Includes backwards-compatible fixes label Nov 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Improvement Includes backwards-compatible fixes
Projects
None yet
Development

No branches or pull requests

2 participants