Closed (duplicate)
Project:
Quick Tabs
Version:
7.x-3.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2012 at 08:11 UTC
Updated:
3 Nov 2014 at 10:59 UTC
Jump to comment: Most recent
This bug was tracked down, that it dose sort tabs in the right woay..
But Translation of Tab's Title will mix with other Tabs.
Bug Location :
the function quicktabs_translate dose not use t() it dose use the i18n_string for each user.
and function translateString will do as well.
tried to fix it using t($string) it worked.
I'm looking to override quicktabs_translate as a temp fix for this bug.
at hook_quicktabs_alter function to use t() will not fix this. as values will be translated as well using quicktabs_translate
function hook_quicktabs_alter(&$quicktabs) {
foreach ($quicktabs->tabs as &$quicktab) {
$quicktab['title'] = t($quicktab['title']);
}
}I can not find the right theme hook to override.
Comments
Comment #1
pasquallesee: api.drupal.org
I do not really understand your problem, but I guess this is a duplicate of #673952: Translations mixed up when rearranging order
Comment #2
rajab natshahThanks Pasqualle for your replay back.
It's look like it but that one was for Drupal 6.. I had a look at that one before my post
This one is in Drupal 7.
We should find a way to fix this in the best way using i18n .
using hooks for the them is not working as well. I think it was working with Drupal 6 but
any way to have them in Drupal 7.
Comment #3
pfrenssenThis is a duplicate of #673952: Translations mixed up when rearranging order.