I have prepared applications with localized language versions. For this purpose I used the native Angular i18n module, which prepared two application packages with the appropriate language in each.
Each version of the application is available under the individual location on my nginx server:
- myapp.com/en/...
- myapp.com/pl/...
I would like my application to be installed once as PWA and provide both language versions using a (single?) service worker.
Unfortunately all I could do now with @angular/pwa module is to provide a separate service workers for each application, which forces separate installations of each language version of my application.
My question is: Is there any way for the application to work in the way I described using @angular/pwa or Workbox?
// By the way, it's a bit surprising that the creators of Angular didn't highlight the integration of @angular/localize with @angular/pwa.