NextGEN Gallery i18n gallary tags issue

I found that “nggtags gallary=” not yet support i18n tags, however “nggtags ablum=” did, is it include in future release or current version have bug? i don’t know…

And then i tried to fix it using following mod.


nggfunctions.php:848

add

$new_slug = sanitize_title($slug);

after the line

$slug = esc_attr( $tag );

and then change

$tagname = $wpdb->get_var( $wpdb->prepare( "SELECT name FROM $wpdb->terms WHERE slug = %s", $slug ) );

to

$tagname = $wpdb->get_var( $wpdb->prepare( "SELECT name FROM $wpdb->terms WHERE slug = %s", $new_slug ) );

lib/tags.php:315

change

$term_ids = $wpdb->get_col( $wpdb->prepare("SELECT term_id FROM $wpdb->terms WHERE slug IN ($sluglist) ORDER BY term_id ASC "));

to

$term_ids = $wpdb->get_col("SELECT term_id FROM $wpdb->terms WHERE slug IN ($sluglist) ORDER BY term_id ASC ");