Some background info - I have a site with a taxonomy (localized terms) that is used to generate url aliases. I am using i18nsync to sync taxonomy terms between original and translated nodes.
I was tracking a bug that would update node translation's alias when node is updated and discovered the following:
1. on node save 18nsync attempts to sync taxonomy fields. Once $node->taxonomy is populated it calls node_save()
2. pathauto's hook_nodeapi implementation calls pathauto_create_alias() where placeholder values are retrieved from token_get_values().
3. token_get_values() gets its values for termpath and termpath-raw from pathauto_token_values() where it queries term_data table for the term and merges the results with the results of pathauto_token_values() for the term. This results in mixed results - catpath and catalias contain localized terms while termpath and termpath-raw do not.

Comments

bluegeek9’s picture

Issue summary: View changes
Status: Active » Closed (outdated)