-
Notifications
You must be signed in to change notification settings - Fork 26.2k
@angular/localize with universal is not production ready / too complex / too many steps #37106
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
Comments
Hi @p3x-robot - thanks for submitting this. To help me understand what action can be taken here could you clarify what you mean by:
What is blocking you? |
Basically, in the official guide, there is no info about how to implement with SSR with localization without having multiple SSR apps. The only way is to make it to fire every localization in a new SSR app. I talk about this => https://angular.io/guide/i18n So, I feel, the SSR and localization are not friends at the moment. |
this guide is good (without SSR): But what about SSR AND localization? |
OK now I understand. I don't know much about how SSR works. Do you have a link to a guide for that? Are you using |
It looks like i18n support is still on the roadmap for Scully: https://github.com/scullyio/scully/blob/master/docs/roadmap.md#L12 and there is quite some discussion going on here: scullyio/scully#318 |
It seems there is also discussion on the Universal repo: angular/angular-cli#25726 Transferring this issue there as it is not specifically a framework issue, since the |
Actually I don't have rights to transfer it :-/ |
But I am going to close this and suggest that you continue the discussion at angular/angular-cli#25726 |
ok, thanks, got it |
Fwiw, check this article about supporting i18n with Universal: https://medium.com/@marcozuccaroli/a-multilanguage-application-with-angular-universal-6e5fe4c2d81c |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🚀 feature request
It took a few years so that Universal is ready and simple to use it and is very good for SEO by now.
Now, I start using Universal, but I am blocked by the way
@angular/localize
is implemented. It is overly complex and if I want to simple want switch to another language I would have to fire up a new application, which is a huge overhead.Relevant Package
This feature request is for
@angular/localize
with Universal.Description
Is there going to be a simpler solution for a simple language switcher without having to fire up a new app and have to build multiple apps instead just 1 step?
Describe the solution you'd like
Simplify the Angular Localize.
Describe alternatives you've considered
There is alternative eg. https://github.com/ngx-translate/core, but it is OSS and you never know what it is going to happen next year, they can abandon quickly.
It would good, if it was happening withing Google.
The text was updated successfully, but these errors were encountered: