Issue with translation in a custom module

In a case when you have a different translation for a field from existing module in your custom module, may happen your translation not to be taken. Actually, translation from the custom module will be loaded before the original module and translation from the original module will override it.

In order to prevent that you need to add the attribute ‘sequence‘ in the definition of your module in the file with a value bigger than the sequence‘s value in the original module. Default ‘sequence‘ value for every module is 100, what means your should add bigger value for the custom module.

Leave a Reply

Your email address will not be published. Required fields are marked *