lingui / lingui/js-lingui

[cli] print all origins for one message

Open
#1,666 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

💡 new feature 📦 cli
Dominant language
TypeScript
Stars
5.9k
Forks
457
Avg merge
1d 23h
Merged PRs (30d)
16

Description

We disabled the origins in the message files to avoid frequent merge conflicts, but would be great if we have a way to see all origins of a given message. IDE search is not always easy to use (mismatches etc, especially for short messages).

something like lingui print --origin --message-id xxxx etc

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the CLI entry point for the proposed lingui print command and how message IDs and origins are represented. Done means a command such as lingui print --origin --message-id xxxx displays all origins for the requested message.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, localization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.