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

pasqualle’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

you should never use t() to translate variables, ...

see: 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

rajab natshah’s picture

Thanks 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.

pfrenssen’s picture

Assigned: rajab natshah » Unassigned
Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (duplicate)