Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Problem localizing in templates

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-26-2009, 03:48 AM
 
boccio boccio is offline
 

Member
  
Join Date: Aug 2008
Posts: 23
 

Default Problem localizing in templates

I'm trying to translate the links
http://www.vinser.eu/store/skin1/images/customer_images/arrow.gif Home http://www.vinser.eu/store/skin1/images/customer_images/arrow.gif Shopping Cart http://www.vinser.eu/store/skin1/images/customer_images/cart.gif http://www.vinser.eu/store/skin1/images/customer_images/arrow.gif Contact Us http://www.vinser.eu/store/skin1/images/spacer.gif

in the head section of my website (www.vinser.eu)

The probem is I can't seem to find these phrases anywhere in .csv file (tried searching up'n'down) nor I can find lbl_ variables for them in templates.

I understand this is inside head_customer.tpl file, but I can't find any reference for these words?

Any help? How can I get them translated to Swedish words:

Home = Tillbaka
Shopping cart = Shopping vagn
Contact us = Kontakta oss
__________________
4.1.10
Reply With Quote
  #2  
Old 01-26-2009, 04:25 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Problem localizing in templates

Use Webmaster mode to find out exactly what template and what language variables are used.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-26-2009, 04:29 AM
 
boccio boccio is offline
 

Member
  
Join Date: Aug 2008
Posts: 23
 

Default Re: Problem localizing in templates

That is the first thing I tried, but webmaster mode does not work on links...
__________________
4.1.10
Reply With Quote
  #4  
Old 01-26-2009, 04:31 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Problem localizing in templates

No, I mean use webmaster mode to find the TEMPLATE. There is a little dialog box that pops up, and when you hover over a section of the site it highlights the template that is used for that area.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 01-26-2009, 05:36 AM
 
boccio boccio is offline
 

Member
  
Join Date: Aug 2008
Posts: 23
 

Default Re: Problem localizing in templates

head_customer.tpl, but there is absolutely no reference on these links there...

I think this is the snippet:
Quote:
{section name=sb loop=$speed_bar}
{if $speed_bar[sb].active eq "Y"}
<img src="{$ImagesDir}/customer_images/arrow.gif" width="27" height="8" alt="" />
<a href="{$speed_bar[sb].link}" class="TopMenu">{$speed_bar[sb].title}
{if $speed_bar[sb].link eq "cart.php"}<img src="{$ImagesDir}/customer_images/cart.gif" width="23" height="12" alt="" /></a>
{else}
</a>&nbsp;
{/if}
{/if}
{/section}
__________________
4.1.10
Reply With Quote
  #6  
Old 01-26-2009, 05:38 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Problem localizing in templates

Oh, that is the SpeedBar - http://forum.x-cart.com/showthread.php?t=36720&highlight=speedbar+language
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 01-26-2009, 06:03 AM
 
boccio boccio is offline
 

Member
  
Join Date: Aug 2008
Posts: 23
 

Default Re: Problem localizing in templates

Thanks a million!
__________________
4.1.10
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:29 AM.

   

 
X-Cart forums © 2001-2020