Skip to content
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

Extract Scoped Translations from Mono Repo into single file #76

Open
ChazUK opened this issue Feb 1, 2021 · 0 comments
Open

Extract Scoped Translations from Mono Repo into single file #76

ChazUK opened this issue Feb 1, 2021 · 0 comments

Comments

@ChazUK
Copy link

ChazUK commented Feb 1, 2021

I've got a Nx workspace project with multiple libs that contain scoped translations that live inline with each component, and also a sort of global translation file for each lib where common strings can be managed.

I've been trying to find a way to export all the translations into a flat file, which can then be managed by an editor/translator, sent back and then imported back into each scope.

Example of folder layout

├─ apps
└─ libs
   ├─ ui
   │  ├─ i18n
   │  ├─ button
   │  │  └─ i18n
   │  └─ form
   │     └─ i18n
   ├─ header
   │  └─ nav
   │     └─ i18n
   └─ footer
      └─ copyright
         └─ i18n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant