Custom Taxonomies in WordPress and QTranslate translation

When using Custom Post types with Custom Taxonomies an

QTranslate works with Custom Post Types in strange way and it have problems with translation options

After googling I found a nice solution to force it to parse taxonomies.

Add this into your Template functions.php at the end of the file, and QTranslate will work properly.

function qtranslate_edit_taxonomies(){
‘public’ => true ,
‘_builtin’ => false
$output = ‘object’; // or objects
$operator = ‘and’; // ‘and’ or ‘or’

$taxonomies = get_taxonomies($args,$output,$operator);

if ($taxonomies) {
foreach ($taxonomies as $taxonomy ) {
add_action( $taxonomy->name.’_add_form’, ‘qtrans_modifyTermFormFor’);
add_action( $taxonomy->name.’_edit_form’, ‘qtrans_modifyTermFormFor’);
add_action(‘admin_init’, ‘qtranslate_edit_taxonomies’);

and good luck.