cancel
Showing results for 
Search instead for 
Did you mean: 

How to import only en impex during system update in Hybris

0 Kudos
1,246

I did system update only with Create essential data checkbox selected. I noticed there are many impex get imported. For example essential-data.impex, essential-data_en.impex, essential-data_de.impex, essential-data_ch.impex ja, br etc. Nearly 7 different language specific impex are get imported. But I wanted to import only en version of it and other I don't want to import. Could you please suggest me how to achieve this. Thank you.

View Entire Topic
pgundoju
Explorer
0 Kudos

Please take a look at the following code snippet in DefaultSetupImpexService.importImpexFile

final List<LanguageModel> languages = getCommonI18NService().getAllLanguages();

Yes, it loops through all available languages.

Option#1 Cleanup multi languages from system if your application doesn't need them.

Option#2 Override SetupImpexService to pull languages from the current user (admin) and configure your desired language (en) to this user.