Author |
Topic |
|
teko
Starting Member
6 Posts |
Posted - 03 August 2005 : 12:13:37
|
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
|
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.” |
|
|
teko
Starting Member
6 Posts |
Posted - 03 August 2005 : 14:16:45
|
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 |
|
|
modifichicci
Average Member
Italy
787 Posts |
|
teko
Starting Member
6 Posts |
Posted - 04 August 2005 : 03:57:28
|
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 %>
|
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 04 August 2005 : 05:37:50
|
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 |
|
|
teko
Starting Member
6 Posts |
Posted - 04 August 2005 : 06:00:34
|
Sorry my fault 20030128052614_sf2k_V34_03_Multi_Lang Active Users 4.0 |
Edited by - teko on 04 August 2005 06:01:59 |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 04 August 2005 : 06:06:34
|
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.” |
|
|
teko
Starting Member
6 Posts |
Posted - 04 August 2005 : 06:42:47
|
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
|
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 04 August 2005 : 06:49:31
|
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.” |
|
|
teko
Starting Member
6 Posts |
Posted - 04 August 2005 : 07:00:30
|
It came online after 5min |
|
|
|
Topic |
|