What about having the same language aware approach for Taxonomy terms path aliases as it is for Nodes path aliases?

$path['language'] = isset($term->language) ? $term->language : LANGUAGE_NONE;

instead of

$path['language'] = LANGUAGE_NONE;

in path.module for path_taxonomy_term_update function

i know that the taxonomy terms in the core it's not language aware at this moment, but this is very needed for i18n taxonomy terms translation.

CommentFileSizeAuthor
#1 1450376-1.patch529 bytesvasike

Comments

vasike’s picture

StatusFileSize
new529 bytes

this is the patch for it

vasike’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 1450376-1.patch, failed testing.

vasike’s picture

Status: Needs work » Needs review

#1: 1450376-1.patch queued for re-testing.

brahmjeet789’s picture

#1: 1450376-1.patch queued for re-testing.

criz’s picture

Status: Needs review » Closed (fixed)

This is already fixed in core now:
$path['language'] = !empty($langcode) ? $langcode : LANGUAGE_NONE;