Which Transloco package(s) are the source of the bug?
Transloco, Scoped Libs
Is this a regression?
No
Current behavior
Hi,
I'm using Transloco in both the main app and an external library. When I use the external library inside the main app, the main app prefixes the library scope core with en. Therefore the app can't find the correct translation.
Is there an existing issue for this?
Which Transloco package(s) are the source of the bug?
Transloco, Scoped Libs
Is this a regression?
No
Current behavior
Hi,
I'm using Transloco in both the main app and an external library. When I use the external library inside the main app, the main app prefixes the library scope
core
withen
. Therefore the app can't find the correct translation.Output debug console:
Here is the used app and library. App: https://github.com/iprins/transloco-main Library: https://github.com/iprins/transloco-lib
Building the library:
Building the main app:
Output:
npm run transloco:extract-scoped-libs
Expected behavior
I expected the following behavior:
replaced with the correct translation:
Please provide a link to a minimal reproduction of the bug
https://github.com/iprins/transloco-main
Transloco Config
Please provide the environment you discovered this bug in
Browser
Additional context
I linked the library locally. I haven't tested it with a published library yet.
I would like to make a pull request for this bug
No