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-archive)
 Performance Note
 New Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rkattan
Starting Member

USA
12 Posts

Posted - 15 February 2002 :  02:43:45  Show Profile  Reply with Quote
Hi,

this multilanguage version will load for each language, all the strings for all the forum in each page... take too much power.

i am making a small app with the same idea of this forum.
i made the same ideas, but with on each page a variable with its name true/false, and the language files, if the var is true, it will load its strings.

hope someone will make this in the forum code.

for ex:
top of page post.asp, add "inPostPage = true"
then in the lang1033.asp page, update the string for that page to:

if inPostPage then
str1 = "bla bla ..."
end if

Bye

---------------------
Rami Kattan
http://www.kattanweb.com/forums


[moved by bozden on 30 September 2002]

<

Edited by - Deleted on 30 September 2002 18:30:03

Deleted
deleted

4116 Posts

Posted - 15 February 2002 :  03:50:00  Show Profile
Today, I need to be in pace with v3.x...

The major problem with the current solution is the INCLUDE directives, where 2 (or 3) language files are included by the server. I also consider to devide the language file into two, one for general ones (normally used by a user) and those from the admin sections.

Your suggestion is something I did think before, but I'll consider it before the final release, where I can change the code more. The problem is with the general strings and the inc_xxx.asp files. We try to keep things simple...

Do you have a measure for performance degradation (too much power is how much)? I was not able to make a valid benchmark although I tried.


Think PinkPost v40b03 Patches<
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000 Version 3.4.07