Author |
Topic |
Deleted
deleted
4116 Posts |
Posted - 19 May 2001 : 11:03:34
|
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.< |
|
|
Morpheus73
Average Member
Denmark
597 Posts |
Posted - 22 May 2001 : 01:51:15
|
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< |
|
|
inworg
Junior Member
Italy
153 Posts |
Posted - 22 May 2001 : 03:51:29
|
The tip is to use an "extra-tag" (eg. <LANG></LANG>) that if not known by the browser, is ignored.
< |
|
|
Morpheus73
Average Member
Denmark
597 Posts |
|
Deleted
deleted
4116 Posts |
Posted - 22 May 2001 : 18:15:15
|
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< |
|
|
Deleted
deleted
4116 Posts |
Posted - 22 May 2001 : 18:21:00
|
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< |
|
|
klunde
Starting Member
Norway
26 Posts |
Posted - 23 May 2001 : 03:24:47
|
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?
< |
|
|
Deleted
deleted
4116 Posts |
Posted - 23 May 2001 : 05:44:57
|
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< |
|
|
inworg
Junior Member
Italy
153 Posts |
Posted - 24 May 2001 : 01:32:34
|
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< |
|
|
marc
Junior Member
Belgium
175 Posts |
Posted - 31 May 2001 : 04:07:28
|
What is the status of the "international version" ? Is this close to end ? When will it be finished ?
Marc Valentin < |
|
|
Deleted
deleted
4116 Posts |
Posted - 31 May 2001 : 09:28:24
|
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< |
|
|
marc
Junior Member
Belgium
175 Posts |
Posted - 01 June 2001 : 04:17:15
|
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 < |
|
|
Morpheus73
Average Member
Denmark
597 Posts |
Posted - 02 June 2001 : 15:56:01
|
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< |
|
|
ncook
Starting Member
2 Posts |
Posted - 22 June 2001 : 01:18:10
|
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< |
|
|
fhl0e
Starting Member
Sweden
4 Posts |
Posted - 27 July 2001 : 01:59:08
|
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
< |
|
|
Topic |
|