Romanchuk / angular-i18next

angular v10+ integration with i18next v19.4+
MIT License
131 stars 33 forks source link

Question: MFE - WebPack5 (Module Federation) with i18N translations #79

Closed MaxSassen closed 2 years ago

MaxSassen commented 2 years ago

I know this is maybe more than your scope of this package, but was hoping you could help me out with my current issue running i18Next with Micro-frontends ( webpack 5 .. module federation).

When loading this in a normal app it loads the translations correctly (using angular-i18next and i18next-http-backend) But when loading the remote app into the host app the translations aren't resolved.. but no errors pops up.

I have no indept knowledge regarding the i18next and was hoping if you know more regarding MFE + the i18next part. also post a more detailed question on stackoverflow

MaxSassen commented 2 years ago

had to add : 'angular-i18next': { singleton: true, strictVersion: true, requiredVersion: 'auto' },