-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
catalogsMergePath doesn't merge all the catalogs #1233
Comments
I had the same problem here. 🤷♂️ I've tried to solve this in my NextJS project like this :
Add glob to dev dependencies yarn add -D glob Update lingui compile script in package
And this is what my lingui config file looks like
Then after running Not ideal but I hope it's help ! |
Yep, you're right is something I want to find time to work with, for improving a lot the monorepo experience. |
@semoal How would you expect the merge functionality to work, when multiple files would be defining the exact same Just writing the merge code, is one thing, but defining this behaviour should be done first. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Describe the bug
catalogsMergePath doesn't merge all the catalogs
To Reproduce
Define multiple catalogs in linguiRc and specify catalogsMergePath
Expected behavior
The catalogs must be merge to a single .po file
Additional context
Add any other context about the problem here.
https://github.com/lingui/js-lingui/blob/main/packages/cli/src/lingui-compile.ts#L83
3.13.2
7.17.5
.babelrc
) or framework you use (Create React App, Meteor, etc.)The text was updated successfully, but these errors were encountered: