LCH-5786: Change the logic to check translations enabled instead of language alterable while calculating language dependencies for entities
Closes LCH-5786