Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Internationalization (v4)
 Trying to add 1 new Translation to my lang1036.asp
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

tcadieux
Junior Member

153 Posts

Posted - 24 August 2002 :  22:25:19  Show Profile
I just wanted to add 1 new link to my Forum, so i edited my lang.asp file and created a new entry which looks like this

strLangGreet00010 = "Cartes de Souhaits" '"Greeting Cards"

However, when i goto my Forum, and view the Source, it looks like this...

<a href="greeting_cards.asp"><acronym title=""></acronym></a>

however, if i pick any other strLang variable and add it to my inc_top.asp instead, it works!!!

this is the code in my inc_top.asp.....what am i doing wrong??

Response.Write " <a href=""" & "greeting_cards.asp" &"""><acronym title=""" & fLang(strLangGreet00010) & """>" & fLang(strLangGreet00010) & "</acronym></a>" & vbNewline & _
" |" & vbNewline

<

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 August 2002 :  23:01:11  Show Profile  Send ruirib a Yahoo! Message
It is possible that you may have your lang file being cached somewhere and it may take some time to have it updated by the new version. Maybe temporarily rename the file and try to view any forum page, to see if there is caching at your server.


If it's not that, make sure you made no mistakes when you defined the variable. The code in inc_top.asp should be Ok, since you can use any other variable, so I'm thinking that it must a problem with the constant definition.

<


Snitz 3.4 Readme | Like the support? Support Snitz too

Edited by - ruirib on 24 August 2002 23:01:55
Go to Top of Page

tcadieux
Junior Member

153 Posts

Posted - 24 August 2002 :  23:21:33  Show Profile
thanx, i knew i couldn't be that stoopid!! <
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 August 2002 :  23:24:46  Show Profile  Send ruirib a Yahoo! Message
So that means it was a caching problem?<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 25 August 2002 :  07:23:30  Show Profile
Try these:

* Define the variable in config.asp such as:
DIM strLangGreet00010
but put that near the point v4 related stuff starts, not to the end.

* Make sure you have that variable in all LANG files you use (if you have multiple).

<

Stop the WAR!
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07