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

disable languages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 05-09-2004, 08:08 PM
  thundernugs's Avatar 
thundernugs thundernugs is offline
 

Senior Member
  
Join Date: May 2003
Location: Bend, OR
Posts: 117
 

Default

i am on version 3.5.7

i disabled all the languages except english and the drop down box is gone.

hopefully, it will stay that way!
Reply With Quote
  #12  
Old 05-09-2004, 08:11 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Hi Thundernugs,

That should do it for the language drop down, what I'd like to do it remove the parsing for languages all together, as right now it still runs through the language php processing each page load.
Reply With Quote
  #13  
Old 05-31-2004, 08:20 AM
  kpriest's Avatar 
kpriest kpriest is offline
 

eXpert
  
Join Date: Apr 2003
Location: Seattle, WA
Posts: 263
 

Default

I have a related problem (maybe) with 3.5.7: I deleted all languages except English and shortly after that, I noticed some of the txt_variables are not showing up on the home page. Specifically $lng.txt_today_news and $lng.txt_subscribe_monthly - these are the only ones I have found that do not appear. The news was in the today_news.tpl, but I consolidated it into news.tpl which now looks like this:
Code:
{* $Id: news.tpl,v 1.14 2003/08/13 06:49:07 svowl Exp $ *} {capture name=menu} <p class=SmallMsg> {$lng.txt_today_news} </p> [img]{$ImagesDir}/spacer.gif[/img] {$lng.txt_subscribe_monthly} <form action="{$xcart_web_dir}/mail/subscribe.php" method=get name=subscribeform> <input type="text" name="email" size=16> {include file="buttons/subscribe_menu.tpl"} <input type=hidden name=redirect value="{$redirect}"> </form> </FONT> {/capture} { include file="r_menu.tpl" dingbats="dingbats_news.gif" menu_title=$lng.lbl_news menu_content=$smarty.capture.menu }
They used to show up and the only related thing I can think of that changed was that I deleted the unused languages.

Yes, I double (triple) checked the variables in the languages table and they are there and as I said, they were working. There are other text vars and lbl vars all working ok.

Any ideas why these would suddenly not be displayed???

grrrr - very frustrated...
__________________
-Ken
X-Cart User / Developer Since April 2003
(Varying versions, multiple client sites, 3.x through 4.4.x)
www.pointbweb.com
Reply With Quote
  #14  
Old 05-31-2004, 01:17 PM
  kpriest's Avatar 
kpriest kpriest is offline
 

eXpert
  
Join Date: Apr 2003
Location: Seattle, WA
Posts: 263
 

Default

UPDATE: I restored the original xcart_languages table and that fixed it. Not sure why, but oh well.
__________________
-Ken
X-Cart User / Developer Since April 2003
(Varying versions, multiple client sites, 3.x through 4.4.x)
www.pointbweb.com
Reply With Quote
  #15  
Old 06-04-2004, 11:16 AM
 
Frans@supremeanime.com Frans@supremeanime.com is offline
 

Newbie
  
Join Date: May 2004
Posts: 6
 

Default Languages off

Quote:
Originally Posted by thundernugs
i am on version 3.5.7

i disabled all the languages except english and the drop down box is gone.

hopefully, it will stay that way!

Thanks this worked for me.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:01 AM.

   

 
X-Cart forums © 2001-2020