drush
drush copied to clipboard
Support "entity:save" command for multilingual websites
We have multilingual app
For some requirement we had to change the url alias pattern of a content type. For this, we used entity:save
command to just load and save the node and aliases updated fine. But we noticed that aliased didn;t update for other translations of the node.
Normally url_alias
alias field shouldn't be translated and hence updating the entity in one language (any language) will update other languages. But in our case, for some reasons, url alias is translated field, means, different languages can have different alias for same node.
Thus something to support in entity (if say pass some language option to handle this)