Skip to content

Context aware messages directory for next-intl. #3020

Discussion options

You must be logged in to vote

I recommend creating different inlang projects for your packages.

  • apps can adjust the inlang project to their needs
  • no global inlang project that needs to be coordinated across all apps
.
├── apps/
├── ├── api
+├── │   ├── api.inlang
├── │   ├── messages
├── │   │   ├── en.json
├── │   │   └── es.json
├── │   └── src
└── └── web/
+    ├── ├── web.inlang
    └── ├── messages/
        ├── │  ├── es.json
        ├── │  └── en.json
        └── └── src

(Coulnd't get the formatting to work with your tree snippet)

@ellisio inlang (including sherlock) works out of the box with multiple inlang projects. hence, question answered?

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by samuelstroschein
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants