I realized that after translation creation using this module no alias is created. It works when node is manually translated. I'm using pathauto for aliases creation.

Version of auto_node_translate 3.0.2
My site is in Czech, translations are in English. I was debugging both modules and problem is in language coming to PathautoGenerator.php - it is still "cs" even when expected is "en" because alias for new English translation should be created.
In Translator.php function translateNode is at the end node re-saved:
line 112: $node->save();
But this is saving node in original language (= cs).
There is new variable $node_trans for translated node, and I think this one should be saved. Then English alias was created as expected.
I replaced $node-> on lines 108-112 with $node_trans-> and it looked good.
But don't know all side effects of this change.

Could you please confirm?
Thanks

Comments

bohus ulrych created an issue.