vue-cli-plugin-i18n icon indicating copy to clipboard operation
vue-cli-plugin-i18n copied to clipboard

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

Open caugner opened this issue 5 years ago • 0 comments

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).

caugner avatar Nov 26 '20 15:11 caugner