Blinking translations on SSR

Viewed 13

we are using Spartacus version 4.2.1 and have an issue with the blinking translations when we start the application with the SSR. For example, we have custom SiteContextUrlSerializer, custom SiteContextConfigInitializer but it seems it is not the cause of the problem. Do you have any ideas where to investigate more? See blinking Filter button here

This is our Translation module config:

import { NgModule } from '@angular/core'
import { I18nConfig, I18nModule, provideConfig } from '@spartacus/core'
import { mbChunks } from './mb-chunks'
import { translations } from './translations'

@NgModule({
  imports: [
    I18nModule
  ],
  providers: [
    provideConfig({
      i18n: {
        resources: translations,
        chunks: mbChunks,
        fallbackLang: 'en'
      }
    } as I18nConfig)
  ],
  exports: [
    I18nModule
  ],
  declarations: [],
})
export class MbI18nModule { }
0 Answers
Related