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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 activate more languages in active user
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

teko
Starting Member

6 Posts

Posted - 03 August 2005 :  12:13:37  Show Profile
I am trying to activate more languages in active user, but it doesn’t seam to work (Works ok 1 lang only)

In red what I have tried

From: LangMODS_Ls3kAU4.asp


'select case strLangLCID
case "1030" 'Danish
%><!--#INCLUDE FILE="LangMODS_Ls3kAU4_1030.asp" --><%
' case "1033" 'English
' %><!--INCLUDE FILE="LangMODS_Ls3kAU4_1033.asp" --><%
' case "1034" 'Spanish
' %><!--INCLUDE FILE="LangMODS_Ls3kAU4_1034.asp" --><%
' case "1036" 'French
%><!--INCLUDE FILE="LangMODS_Ls3kAU4_1036.asp" --><%
' case "1037" 'Hebrew
%><!--INCLUDE FILE="LangMODS_Ls3kAU4_1037.asp" --><%
' case "1041" 'Japanese
%><!--INCLUDE FILE="LangMODS_Ls3kAU4_1041.asp" --><%
' case "1043" 'Dutch
%><!--INCLUDE FILE="LangMODS_Ls3kAU4_1043.asp" --><%
' case "1046" 'Portuguese - Brazil
%><!--INCLUDE FILE="LangMODS_Ls3kAU4_1046.asp" --><%
' case "1053" 'Sweedish
%><!--INCLUDE FILE="LangMODS_Ls3kAU4_1053.asp" --><%
' case "2070" 'Portuguese - Portugal
%><!--INCLUDE FILE="LangMODS_Ls3kAU4_2070.asp" --><%
' case else
%><!--#INCLUDE FILE="LangMODS_Ls3kAU4_1033.asp" --><%
'end select
%>



Teko

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 03 August 2005 :  13:17:55  Show Profile
The Active Users mod does not include multilingual support, the included language files are so you can configure the mod to your forum's default language.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

teko
Starting Member

6 Posts

Posted - 03 August 2005 :  14:16:45  Show Profile
Ok I must have misunderstood the readme

If you wish to add any of the languages other than English, then remove the ' from in front of the corresponding case statement in the LangMODS_Ls3kAU4.asp file. Then add a # symbol before the word "include" in the following line. You can look at the English include for reference. Re-upload the LangMODS_Ls3kAU4.asp file, and also upload the corresponding language file.

Edited by - teko on 03 August 2005 14:17:05
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 03 August 2005 :  14:20:44  Show Profile  Visit modifichicci's Homepage
You have to deselect also the first line:
'select case strLangLCID
must be
select case strLangLCID

and the same in line
'case else
must be
case else

and
'end selct
must be
end select

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum

Edited by - modifichicci on 03 August 2005 14:22:36
Go to Top of Page

teko
Starting Member

6 Posts

Posted - 04 August 2005 :  03:57:28  Show Profile
Ok now I don’t get an error but the lang doesn’t change

select case strLangLCID
case "1030" 'Danish
%><!--#INCLUDE FILE="LangMODS_Ls3kAU4_1030.asp" --><%
case "1033" 'English
%><!--#INCLUDE FILE="LangMODS_Ls3kAU4_1033.asp" --><%
' case "1034" 'Spanish
' %><!--INCLUDE FILE="LangMODS_Ls3kAU4_1034.asp" --><%
' case "1036" 'French
%><!--INCLUDE FILE="LangMODS_Ls3kAU4_1036.asp" --><%
' case "1037" 'Hebrew
%><!--INCLUDE FILE="LangMODS_Ls3kAU4_1037.asp" --><%
' case "1041" 'Japanese
%><!--INCLUDE FILE="LangMODS_Ls3kAU4_1041.asp" --><%
' case "1043" 'Dutch
%><!--INCLUDE FILE="LangMODS_Ls3kAU4_1043.asp" --><%
' case "1046" 'Portuguese - Brazil
%><!--INCLUDE FILE="LangMODS_Ls3kAU4_1046.asp" --><%
case "1053" 'Sweedish
%><!--#INCLUDE FILE="LangMODS_Ls3kAU4_1053.asp" --><%
case "2070" 'Portuguese - Portugal
%><!--INCLUDE FILE="LangMODS_Ls3kAU4_2070.asp" --><%
case else
%><!--#INCLUDE FILE="LangMODS_Ls3kAU4_1033.asp" --><%
end select
%>
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 04 August 2005 :  05:37:50  Show Profile
Apologies for my previous post, I was assuming, as you hadn't provided any information to the contrary, that you weren't running a forum with multilingual support. If you are, which one are you running?


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”

Edited by - Shaggy on 04 August 2005 05:43:30
Go to Top of Page

teko
Starting Member

6 Posts

Posted - 04 August 2005 :  06:00:34  Show Profile
Sorry my fault 20030128052614_sf2k_V34_03_Multi_Lang
Active Users 4.0

Edited by - teko on 04 August 2005 06:01:59
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 04 August 2005 :  06:06:34  Show Profile
Can you place the following immediately before the select case statement and let us know the results in both languages? It should write 1030 when you have Danish selected and 1033 when you're using English.

response.write strLangLCID


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

teko
Starting Member

6 Posts

Posted - 04 August 2005 :  06:42:47  Show Profile
Result: HTTP 500 server error
quote:
When adding a mod you should test it somewhere other than your live website first, your web host will not be pleased if you make a mistake which ends up crashing the webserver. Webhosts do not generally provide space for you to test code.



I cant get it back up
How can I test it on my computer
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 04 August 2005 :  06:49:31  Show Profile
That shouldn't have given you an error. Turn off friendly HTTP error messages in your browser to see the exact error message. Just remove that line I told you to insert to revet back to how it was.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

teko
Starting Member

6 Posts

Posted - 04 August 2005 :  07:00:30  Show Profile
It came online after 5min
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.39 seconds. Powered By: Snitz Forums 2000 Version 3.4.07