Search code examples
localizationsap-commerce-cloudbackoffice

How to create a new language in Hybris?


I have added a new Language by going to Internationalisation -> Languages and then added a new language. But that language does not show up on the login page of Backoffice. It is present in the database, I can find it using flexible search. Please can someone guide me, what am I missing?


Solution

  • To add a language in Backoffice, you need to define it in local.properties using the lang.packs property. e.g lang.packs=en,de,newCode.

    However, this is not so simple or straight-forward. You would also need to localize the different UI texts and to update Solr configuration. Unfortunately, SAP does not provide a guide on this. There used to be one for Hybris 5, but it isn't available anymore. Unless absolutely needed, I suggest to forget about adding a new language for Backoffice.

    References: