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
Comment #1
drupalfan81 commentedTHANK 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!
Comment #2
harings_rob commentedI have enrolled these changes into a patch.
Comment #4
sinasalek commentedIncorrect submit!, but have a look at this #2259923: Vocabulary names are not translated