5.13.0 5.12.0 5.11.0 5.10.0 5.9.0 5.8.0 5.7.0 5.6.0 5.5.0 5.4.0 5.3.0 5.2.0 5.1.0 5.0 4.10 4.9 4.8 4.7 4.6 4.5.3 4.5.2 4.5.1 4.5 4.4 4.3
5.13.0 5.12.0 5.11.0 5.10.0 5.9.0 5.8.0 5.7.0 5.6.0 5.5.0 5.4.0 5.3.0 5.2.0 5.1.0 5.0 4.10 4.9 4.8 4.7 4.6 4.5.3 4.5.2 4.5.1 4.5 4.4 4.3

Translation support at customer widget

Steps required for the configuration of translations in the customer widget

  1. cd into {your-cx-solution}/kubernetes

  2. Add translation files inside pre-deployment/app-translations/customer-widget/i18n/ ( the translation files can be found in the cim-skeleton project)

  3. Mounting the volumes in the customer widget section in core helm-charts

extraVolumes:
      - name: ef-widget-translation
        configMap:
           name: ef-widget-translations-cm
extraVolumeMounts:
      - name: ef-widget-translation
        mountPath: /usr/share/nginx/html/widget-assets/i18n/
        
  1. Apply config map
    kubectl -n expertflow create configmap ef-widget-translations-cm --from-file=pre-deployment/app-translations/customer-widget/i18n/

  2. restart the customer widget component

helm upgrade --install --namespace expertflow --create-namespace   ef-cx  --debug --values helm-values/ef-cx-custom-values.yaml expertflow/cx



For updating the translation file in customer widget

  1. cd into {your-cx-solution}/kubernetes

  2. make changes in desired file at pre-deployment/app-translations/customer-widget/i18n/

  3. delete the config map kubectl delete cm ef-widget-translations-cm -n expertflow

  4. Apply config map
    kubectl -n expertflow create configmap ef-widget-translations-cm --from-file=pre-deployment/app-translations/customer-widget/i18n
    make sure you are at {your-cx-solution}/kubernetes before running the above command

  5. restart the customer widget component

helm upgrade --install --namespace expertflow --create-namespace   ef-cx  --debug --values helm-values/ef-cx-custom-values.yaml expertflow/cx