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)
 !!! PLEASE READ - INTERNATIONAL VERSION !!!
 Forum Locked  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 6

Deleted
deleted

4116 Posts

Posted - 19 May 2001 :  11:03:34  Show Profile
quote:

I think that Global.asa-dependant system is good only for domains hosting only this forum. What about if I host more forums or the forum isn't the main part (homepage) of my site?





Exactly... The information provided on these pages are not useful in this case. Most of them are simple but there were also interesting examples such as automatic infor delivery using forms etc.<
Go to Top of Page

Morpheus73
Average Member

Denmark
597 Posts

Posted - 22 May 2001 :  01:51:15  Show Profile
when you start writing the code, could would it be possible for you to tag the lineīs which actually display text with lines telling us what text it shows? ... for us DW/frontpage/HomeSite users it would be a whole lot easier if we could see how to throw stuff around...e.g.

(div) &Strlangforumname (/div)(div)strposterid&strposttime (/div) ' shows forumname and posterīs id and posting time on main page

mph73?

Morpheus73 - morpheus73@hotmail.com<
Go to Top of Page

inworg
Junior Member

Italy
153 Posts

Posted - 22 May 2001 :  03:51:29  Show Profile  Visit inworg's Homepage
The tip is to use an "extra-tag" (eg. <LANG></LANG>) that if not known by the browser, is ignored.

<
Go to Top of Page

Morpheus73
Average Member

Denmark
597 Posts

Posted - 22 May 2001 :  16:13:58  Show Profile
check this ASP/SQL/ACCESS/MySQL Bulletin board...they manage multilanguage (and look good too )

http://idealbb.com


Morpheus73 - morpheus73@hotmail.com<
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 22 May 2001 :  18:15:15  Show Profile
There are two types of coding regarding the language strings:

1) <td><%= intNum%> Topics</td>
2) response.write "<td>" & intNum & " Topics</td>"

Its planned that most of the 1st type usage (where more than one ASP call exists) will be changed to type 2, to improve performance. In this case, the idea of using user defined tags like <LANG></LANG> will not be useful as you think. Am I wrong?

I think, it will be better to use a function call instead. This call can easily be searched in code. Then the result will be like:

3) response.write "<td>" & intNum & " " & funcLanguageTranslate("langTopic01") & "</td>"


Then you can use any method inside the function (use of JS, ASP, Application object, eval strings, etc, i.e. whatever method we decide now and tomorrow) without going back to the actual source.

It will offcourse be very good to use comments everywhere in the code. They can also be proceeded with a special marker like


4) response.write "<td>" ... "</td>" 'LANG output no of topics posted since last login


What do you think?


Bulent Ozden
History Foundation of Turkey


Edited by - bozden on 20 April 2002 09:31:07<
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 22 May 2001 :  18:21:00  Show Profile
quote:

check this ASP/SQL/ACCESS/MySQL Bulletin board...they manage multilanguage (and look good too )

http://idealbb.com


Morpheus73 - morpheus73@hotmail.com



It seems that they use a simple include file of language strings. Easiest way of doing static language forums using admins FTP capabilities! I think its a defined include in config.asp (in our terms).

Good features thou!


Bulent Ozden
History Foundation of Turkey


Edited by - bozden on 20 April 2002 09:32:01<
Go to Top of Page

klunde
Starting Member

Norway
26 Posts

Posted - 23 May 2001 :  03:24:47  Show Profile
Seems to be a lot of good suggestions here, but could any please sum up a little what's been desided so far? Or is this discussion still out in the blue and only words?

<
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 23 May 2001 :  05:44:57  Show Profile
quote:

Seems to be a lot of good suggestions here, but could any please sum up a little what's been desided so far? Or is this discussion still out in the blue and only words?





This is spmething which I'll do offcourse. If you read the other topic mentioned at the very beginning of this post, we try to solve a technical problem. It seems that we will use approach 3, which will be a combination of mentioned approaches. It's not completely in blue, but not decided yet.


Bulent Ozden
History Foundation of Turkey


Edited by - bozden on 20 April 2002 09:44:10<
Go to Top of Page

inworg
Junior Member

Italy
153 Posts

Posted - 24 May 2001 :  01:32:34  Show Profile  Visit inworg's Homepage
Dear bozden I think too that the best way is to use
quote:
3) response.write "<td>" & intNum & " " & funcLanguageTranslate("langTopic01") & "</td>"

but with a little difference: I think is better (=quickly execution) to use a number to index a string instead a string as "langTopic01" so the code don't have to search "langTopic01" with a for..next but direcly read the N-th element in the array of sentences.

So we have also to remember that in other languages is possible to have problems in sentences structure (singular/plural, male/female, ecc.) so to do this we've to let empty some elements in the english/OtherLang array of sentences so using an "indexed-translation" we can use, when needed, contigual numbers.




Edited by - inworg on 24 May 2001 01:34:00<
Go to Top of Page

marc
Junior Member

Belgium
175 Posts

Posted - 31 May 2001 :  04:07:28  Show Profile
What is the status of the "international version" ? Is this close to end ? When will it be finished ?

Marc Valentin
<
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 31 May 2001 :  09:28:24  Show Profile
quote:

What is the status of the "international version" ? Is this close to end ? When will it be finished ?

Marc Valentin




Marc, It will start just after the next release (v3.3). As you know its on the test phase and seems to be quite stable. Only a couple of bugs could be found. Being stable is important, because during Internationalization phase the code will change too much, possibly introducing some bugs.

Some time later (I think not far) I'll get full set of files and work on the day and night. For my site I promise I'll do my best.



Think Pink<
Go to Top of Page

marc
Junior Member

Belgium
175 Posts

Posted - 01 June 2001 :  04:17:15  Show Profile
quote:

Some time later (I think not far) I'll get full set of files and work on the day and night. For my site I promise I'll do my best.


I know you are doing your best Boz. Thanks for your response !

Marc Valentin
<
Go to Top of Page

Morpheus73
Average Member

Denmark
597 Posts

Posted - 02 June 2001 :  15:56:01  Show Profile
Sinve this topic is so long, I havent read the previous posts, so maybe this has come up before. - and again I want to state that I find it unnecessary to make the multilanguage version dynamic...let admin choose the laguage, and thatīs it...95% of snitz users will use just one laguage, and the rest can just use the multiple forums with same users/content option.

My real issue: the inc_file or what might become the result of this discussion, should besides the translation also include settings for currency, metric or non-metric scale, timezone settings and so on - would that be possible?

mph73

Morpheus73 - morpheus73@hotmail.com<
Go to Top of Page

ncook
Starting Member

2 Posts

Posted - 22 June 2001 :  01:18:10  Show Profile
I disagree I think giving the users the ability to select there lang is very important. Many countries are multi-ligual. Although it is not practical to translate the msgs themselves, providing the UI in the lang that the user prefers is important. THat being said the Admin should be able to choose the langages that will be selectable.



Edited by - ncook on 22 June 2001 01:19:03<
Go to Top of Page

fhl0e
Starting Member

Sweden
4 Posts

Posted - 27 July 2001 :  01:59:08  Show Profile  Send fhl0e an AOL message  Send fhl0e an ICQ Message  Send fhl0e a Yahoo! Message
Somewhere in a topic, there was an question about dynamic server siade include.
How about another idea:
Server.Execute??
example:
global.asa
Application("PREFFEREDLANGUGAGE") = "EN" (fetch from user profile)

langEN.asp
Variable(1) = "You have: "
Variable(2) = "new mails"

somefile.asp
Server.Execute("lang" & Application("PREFFEREDLANGUGAGE") & ".asp")
Response.write(Variable(1))
Resposne.Write(CountMail)
Response.Write(Variable(2))

As I understand the Server.Execute, it "calls and executes" a external page, and then returns with the results (in this case it fills variables).

Waiting for comments...

/fhl0e

<
Go to Top of Page
Page: of 6 Previous Topic Topic Next Topic  
Previous Page | Next Page
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07