Currently, for a taxonomy term with a set language, running
var_dump(entity_language('taxonomy_term', taxonomy_term_load(1)))
returns NULL.

With this patch, it returns the language, as expected.

This solves the problem of pathauto not picking up taxonomy term languages for me.

CommentFileSizeAuthor
#1 i18n-fix-entity-language-2199559.patch657 bytesCarl Johan
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Carl Johan’s picture

Carl Johan’s picture

Status: Active » Needs review
Carl Johan’s picture

Carl Johan’s picture

Issue summary: View changes
Jose Reyero’s picture

Status: Needs review » Fixed

Nice, this may fix some other issues too. Committed, thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

kopeboy’s picture

Wow, this seems SO important!
There are many support and bugs issues on the translation of paths, when this will be included in a stable release please?