Skip to content

Magento 2 static content deploy duplications

I have Magento 2 installation with a lot of websites and one website has language which other websites don’t. When I execute setup:static-content:deploy it generates the language for all store views I have. It’s strange behavior, I think it should generate this language only for a particular website and store view, isn’t it? Any thoughts on this? Magento 2.4.6-p2.

P.S. To add an exclude theme parameter to setup:static-content:deploy isn’t a solution for me, because I need to solve it globally.