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)
 Having a problem creating new Variables
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

tcadieux
Junior Member

153 Posts

Posted - 18 October 2006 :  15:48:40  Show Profile
I've created 2 new variables identified below, i added them to the members.asp and I added this code...

pop_profile.asp
Err_Msg = Err_Msg & "<li>" & fLang("L_Members_NEW_001") & "</li>"


Members.asp
L_Members_NEW_001 ="You must provide your Rank"

When i run pop_profile.asp though, I get this, *Members NEW 001

I understand that this means the variable is empty, as per the below function, i just can't figure out why? Is there an initialisation script somehwere i ned to run?


inc_language.asp
function fLang(s)
if isEmptyNull(eval(s)) then
'unlocalize, use name of variable, add mark "*"
fLang = "*" & replace(mid(s, 3),"_", " ")
'fLang ="You dumb ****!"
else
fLang = eval(s) ' commented out for IIS 4 compatibility, all related function calls changed
end if
'fLang=s
end function
<

tcadieux
Junior Member

153 Posts

Posted - 19 October 2006 :  14:08:06  Show Profile
Anyone?<
Go to Top of Page

tcadieux
Junior Member

153 Posts

Posted - 26 October 2006 :  09:26:42  Show Profile
Helllloooooo ????<
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.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07