-
Notifications
You must be signed in to change notification settings - Fork 85
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
Investigate client side localization. #774
Comments
Question submitted to stackoverflow. https://stackoverflow.com/questions/60018146/angular-client-side-language-switching |
The And there is a library can make it called ngx-translate and transloco |
Seems ngx-translate have so many stars and considered to be trusted. So we need to investigate if it is suitable for our current app. |
Seems ngx-translate is deprecated. Seems the only solution for us is transloco. |
I think we can wait for angular v9.1 in which the client-side locallize is natively support in angular. |
Wow. Cool! So, just wait. |
It seems client-side locallization won't be available in ng9 now. We have to use transloco. |
Ohh, that's so bad. Yeah. |
What do you suggest we do?
Now that we have produced many versions of the Kahla app. But the app still could not switch between multiple languages.
I have read the Angular localization document. But it seems that localization was done in the building process. After the app is built, it can't be changed.
As we all known, Kahla is deployed behind a CDN. The CDN servers reverse-proxy Kahla will cache all files passed. Server-side app localization is not available.
And we have provided client-side Kahla based on the electron. We shall deliver the app once and the user can switch between different languages easily. Current Angular localization can't make it.
So is there any way for us to deliver the Kahla app with multiple languages switchable?
Additional context
https://angular.io/guide/i18n
The text was updated successfully, but these errors were encountered: