LinguiJS: remove obsolete entries while keeping manually added ones

Viewed 8

I'm trying to remove obsolete entries from my lingui catalogs by using lingui extract --clean. However, the catalogs contain entries that I added by hand, which get removed by this as well. For code like this i18n._("myI18nEntryKey") I added entries like this:

"myI18nEntryKey": {
    "translation": "my entry value",
    "obsolete": true
}

Is there a way to preserve them or a better workflow for having both auto-detected i18n entries and manually defined ones? Maybe two catalogs compiled into one?

0 Answers
Related