You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From my perspective the most common use case with NX mono repo is having multiple apps and some common nx libraries
Most of the time of course i put translation definitions within specific apps but sometimes are the cases where you want for example default texts in common components.
Let's say we have a alert dialog component. Usually we pass the translated text directly to .open(..)function. But sometimes we just want to have a default behavior for all apps. For example button with Confirm text inside alert dialog component.
Is there an existing issue for this?
Which Transloco package(s) will this feature affect?
Transloco
Is your feature request related to a problem? Please describe
Currently
scopePathMap
allows only string values. Is it possible to make it an array of strings?Current:
From my perspective the most common use case with NX mono repo is having
multiple apps
and some commonnx libraries
Most of the time of course i put translation definitions within specific apps but sometimes are the cases where you want for example default texts in common components.
Let's say we have a
alert dialog
component. Usually we pass the translated text directly to.open(..)
function. But sometimes we just want to have a default behavior for all apps. For example button withConfirm
text insidealert dialog
component.Thanks by inline loaders and scopes i use this:
But in the end i need translations realted with this nx library "inside" i18n for specific app:
Describe the solution you'd like
Expected:
This should "copy" translation to both directories.
Describe alternatives you've considered
Additional context
No response
I would like to make a pull request for this feature
No
The text was updated successfully, but these errors were encountered: