Archived

This topic is now archived and is closed to further replies.

  • 0

Tabber The tabber's tab can't use Traditional Chinese.


Question

Posted · Report post

If I enter the Traditional Chinese in Tabber tabs , it will become very very strange!!

 

So, I think just to use backgroud image to do the tricks .

 

But all tabs are the same class .

 

would you please consider to make your extension international ?

 

Or just gie evr tab a unique class so I can make them different .

 

 If not in Chinese Or can't use background , this extension is useless to me . 

 

http://www.sohokakadong.com/lucky/%E9%A6%96%E9%A0%81/%E5%B9%B8%E7%A6%8F%E6%9C%83%E5%93%A1/

 

Here is the links.

 

class= nothing   and If I use Chinese , the Tab won't work.

Share this post


Link to post
Share on other sites

8 answers to this question

Posted · Report post

Hi, I edit the sections.php 

 

change

 

$output .= sprintf('<li>%s</li>',$tabwhole);

 

 

to

 

 

 

$output .= sprintf('<li class="tabnum-%s">%s</li>',$i,$tabwhole);
 

 

then  I have <li class="tabnum-1"> something like this. 

 

And I don't think it is a good idea that you just use  

$tabnameclean = preg_replace('/[^w]+/', '', $tabname);

 

 

Because all non-latin Language will become something like this in URL  %we3hsy%hruhdqrh%22kww62k 

so, if you just preg_replace , then everything break !!

 

I have bought a lot of your extensions , so I don't think it is the mistake you should make. 

 

Hope update it soon!  

 

Thanks.

Share this post


Link to post
Share on other sites

Posted · Report post

It has been 11 days since your last reply.

 

May I ask you JUST WHEN I can get a patch?   

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks a lot !

Share this post


Link to post
Share on other sites

Posted · Report post

May I ask when will this update come out?

Share this post


Link to post
Share on other sites

Posted · Report post

Please be patient.

 

I have over 30 products, that are continuously being updated. I just pushed 4 updates on 4 other products yesterday, along with spending the last 6 weeks finishing a clients project.

Share this post


Link to post
Share on other sites

Posted · Report post

one month passed........

Share this post


Link to post
Share on other sites

Posted · Report post

This update isn't possible. Here's why. I whitelisted those option fields so the tab name can now read chinese and russian, etc. However, CSS doesn't let us apply those characters as an ID. The ID of the tab, matches the ID of the content. This is how it knows which tab to change to. Without being able to use languages in CSS it's just not possible.

Share this post


Link to post
Share on other sites

Posted · Report post

Yup some settings need to be whitelisted so the option engine doesn't remove the characters. I'll push this on the next update.

1 person likes this

Share this post


Link to post
Share on other sites