Closed mackelito closed 2 months ago
Hi @mackelito, i have the same issue. Did you ever resolved this?
I have not had the time to look into it more yet.. more pressing issues so we hand to do it manual for now :(
@mackelito If I understand correctly this issue is related to the keys manager is that correct? TKM is managed in a different repository so please move the issue there. Feel free to reopen if I misunderstood.
There should be scope support in the TKM but maybe you are facing this issue due to the face that provideTranslocoScope
is missing support and will be added soon in a new release.
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
Not sure if this is a bug or if I'm using transloco scopes incorrectly. I have a nx library that contains of 2 components:
lib/ lib/signingComponent lib/statusComponent lib/i18n
in the i18n file (both share the same en.json file) We have like keys like
In the template files the keys are used like this:
So different scopes use the same key and this works fine ... But when extracting keys are prefixed eg:
"signing.button_sign": "missing key"
and that key is not used...Expected behavior
So what I would need is to not have it prefixed when extracting (or change my implementation so that the prefix is used)
Any suggestions?
Transloco Config
Please provide the environment you discovered this bug in
I would like to make a pull request for this bug
Yes π