API page: http://api.drupal.org/api/drupal/modules%21taxonomy%21taxonomy.module/fu...

Looked at the SQL of taxonomy_get_children, it has a condition which restricts the select to terms whose language is identical to current language or equal 'und'.
This is contradicting the documentation of this function: "Finds all children of a term ID."
I was expecting to get a list of children but the return value is an empty array.

There are several reasons why you would like to show a list of terms in a different language but in particular if you are in admin/edit mode for a page whose language is different from your admin language.

I might be wrong but I assume that this is also the case for "taxonomy_get_tree" and "taxonomy_get_parents"

Comments

Infoloko’s picture

deleted - sorry comment was incorrect