Upgrading v2 -> v4.3, Problem with Translation and changing from Services to Facades

Viewed 21

we are busy upgrading from v2 to v4.3 and have run into some issues with Transalations and switching to Facades. We have followed the upgrade docs 2-3 then 3-4.

The first issue we are facing is that we need to include all the individual translations files (order, checkout, etc) whereas before we just needed the single translations and translationsChunks config as per (https://sap.github.io/spartacus-docs/i18n/#getting-started), and having our custom overrides in the translationOverwrites and provided it in the config was sufficient. This does not work anymore, are we perhaps missing a step and is providing each individual translation file the correct approach?

The second issue is changing our existing calls from Service to its Facade counterpart/replacement as per the upgrade docs, the facade methods are abstract and the implementation (the Service) is not executed. Changing back to the Service class executed the correct code. Again, are we missing an upgrade step or should we ignore the upgrade doc and continue using the Service?

0 Answers
Related