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
Which Transloco package(s) will this feature affect?
Schematics
Is your feature request related to a problem? Please describe
The Angular CLI (18+) generates a public directory instead of an assets directory. This directory is meant for the public/static files.
Describe the solution you'd like
Your ng add schematics should probably take this into account and create the i18n directory in the public directory.
The TranslocoHttpLoader should also point to /i18n/${ lang }.json instead of assets/i18n/${ lang }.json
Describe alternatives you've considered
No alternatives needed?
Additional context
Not sure if this is a Feature request or a Bug
I would like to make a pull request for this feature
No
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Which Transloco package(s) will this feature affect?
Schematics
Is your feature request related to a problem? Please describe
The Angular CLI (18+) generates a
public
directory instead of anassets
directory. This directory is meant for the public/static files.Describe the solution you'd like
Your
ng add
schematics should probably take this into account and create thei18n
directory in thepublic
directory.The
TranslocoHttpLoader
should also point to/i18n/${ lang }.json
instead ofassets/i18n/${ lang }.json
Describe alternatives you've considered
Additional context
Not sure if this is a Feature request or a Bug
I would like to make a pull request for this feature
No
The text was updated successfully, but these errors were encountered: