X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   disable languages (https://forum.x-cart.com/showthread.php?t=1291)

thundernugs 05-09-2004 08:08 PM

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!

Jon 05-09-2004 08:11 PM

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.

kpriest 05-31-2004 08:20 AM

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... :cry:

kpriest 05-31-2004 01:17 PM

UPDATE: I restored the original xcart_languages table and that fixed it. Not sure why, but oh well.

Frans@supremeanime.com 06-04-2004 11:16 AM

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.


All times are GMT -8. The time now is 05:00 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.