Hi in file

taonomy_facets.module

the option to translate vocabularys names with I18N_TAXONOMY_TRANSLATE is missing.

so please change

function _taxonomy_facets_localize_vocabulary(&$vocabulary) {
  // If this vocabulary supports localization.
  if (module_exists('i18ntaxonomy') && i18ntaxonomy_vocabulary($vocabulary->vid) == I18N_TAXONOMY_LOCALIZE ) {
    $vocabulary->name = tt("taxonomy:vocabulary:$vocabulary->vid:name", $vocabulary->name);
  }
}

into

function _taxonomy_facets_localize_vocabulary(&$vocabulary) {
  // If this vocabulary supports localization.
  if (module_exists('i18ntaxonomy') && (i18ntaxonomy_vocabulary($vocabulary->vid) == I18N_TAXONOMY_TRANSLATE || i18ntaxonomy_vocabulary($vocabulary->vid) == I18N_TAXONOMY_LOCALIZE)) {
    $vocabulary->name = tt("taxonomy:vocabulary:{$vocabulary->vid}:name", $vocabulary->name);
  }
}

cu

Comments

drupalfan81’s picture

THANK YOU! I have been trying to figure this out for some time now. This fixed the issue and now all my terms are translated and I can launch my website to the live server!

harings_rob’s picture

Status: Active » Fixed
StatusFileSize
new855 bytes

I have enrolled these changes into a patch.

Status: Fixed » Closed (fixed)

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

sinasalek’s picture

Issue summary: View changes
StatusFileSize
new884 bytes

Incorrect submit!, but have a look at this #2259923: Vocabulary names are not translated