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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | i18n-fix-entity-language-2199559.patch | 657 bytes | Carl Johan |
Comments
Comment #1
Carl Johan commentedComment #2
Carl Johan commentedComment #3
Carl Johan commentedComment #4
Carl Johan commentedComment #5
jose reyero commentedNice, this may fix some other issues too. Committed, thanks.
Comment #7
kopeboyWow, 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?