drush icon indicating copy to clipboard operation
drush copied to clipboard

Support "entity:save" command for multilingual websites

Open joshirohit100 opened this issue 4 months ago • 1 comments

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)

joshirohit100 avatar Sep 30 '24 05:09 joshirohit100