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)
 Is anyone working on legacy MODs?
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

tutzauer
Starting Member

Panama
28 Posts

Posted - 06 March 2002 :  18:10:42  Show Profile  Visit tutzauer's Homepage
Is anyone working on legacy MODs? I really like the Event Calendar and Email Notification. It seems that these particular MODs would need some careful changes in order to make them work in the international version.



Jack Tutzauer<

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 06 March 2002 :  18:24:17  Show Profile  Visit HuwR's Homepage
I will be updating the events calenda when 4 becomes official.

What do you mean by email notification?

<
Go to Top of Page

tutzauer
Starting Member

Panama
28 Posts

Posted - 06 March 2002 :  19:40:28  Show Profile  Visit tutzauer's Homepage
I'm looking at a Mod titled Events Email Notification Mod Documentation.

Author: Mark Findlay Copyright 2001

Snitz Version 3.1 Service Release 4

to be used with Events Calendar: Snitz Events Calendar Version 2 service release 1 by Alan Le aka Aznknight

download latest version at http://www.sagecomputerserices.com/downloads/event_email_notify_mod.asp

NOTE: This mod will not work with versions LATER than 3.1 sr 4.

The Event Calendar is primary for me.
The Email Notification is only 'nice to have'.

I look forward to your update.



Jack Tutzauer<
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 06 March 2002 :  20:46:24  Show Profile
Huw is a wise guy. I did actually a semi-complete transformed version of Events Calendar on www.istanbulmuzesi.org , but it has difficulties with date/time issues which can more easily be solved via v4.

Any transformation of MODs today has to be re-checked after v4f is out. I tried 2-3 mods to translate just for experimenting the difficulties.


Think PinkPost v40b03 Patches<
Go to Top of Page

tutzauer
Starting Member

Panama
28 Posts

Posted - 07 March 2002 :  13:53:46  Show Profile  Visit tutzauer's Homepage
Thanks, for the headsup on Huw. I am reading through your link and downloading the patches.

One thing that occured to me while reading it, is that maybe the 'bad word list' should be moved out of the db and into a file similar to the language file. First, it is difficult to edit the list in the present version. Second by using files a pre-configured bad word list could be distributed....maybe nice administrators don't know many bad words to enter into the list. To add or delete words would be a simple matter of editing the file.

Alternately, they could be moved into a separate table of the db with the LCID as one field and the bad word as another...query all bad words with code LCID = 1055.



Jack Tutzauer<
Go to Top of Page

tutzauer
Starting Member

Panama
28 Posts

Posted - 07 March 2002 :  13:58:27  Show Profile  Visit tutzauer's Homepage
My last post returned this error:

New Reply Posted! error '80040e31'

/forum/inc_functions.asp, line 1428

Nevertheless, the post was entered ok.



Jack Tutzauer<
Go to Top of Page

tutzauer
Starting Member

Panama
28 Posts

Posted - 07 March 2002 :  14:07:08  Show Profile  Visit tutzauer's Homepage
quote:

I will be updating the events calenda when 4 becomes official.
What do you mean by email notification?



BTW, the link to your profile pic is broken.



Jack Tutzauer<
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 07 March 2002 :  14:20:01  Show Profile
quote:

Alternately, they could be moved into a separate table of the db with the LCID as one field and the bad word as another...query all bad words with code LCID = 1055.


This is what I'm considering nowadays. The chosen method will very much be related to the installation method of the languages thou.

Think PinkPost v40b03 Patches<
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 07 March 2002 :  14:31:21  Show Profile
quote:

My last post returned this error:

New Reply Posted! error '80040e31'

/forum/inc_functions.asp, line 1428

Nevertheless, the post was entered ok.



Jack Tutzauer



See here: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=24126


Think PinkPost v40b03 Patches<
Go to Top of Page

tutzauer
Starting Member

Panama
28 Posts

Posted - 08 March 2002 :  08:05:18  Show Profile  Visit tutzauer's Homepage
quote:

This is what I'm considering nowadays. The chosen method will very much be related to the installation method of the languages thou.


Another question that came to mind is, should language string variables for add-on applications such as the Events Calendar be added to the langNNNN.asp file or should they be in a separate language file like events_langNNNN.asp?

My first reaction is that they should be in a separate file like events_langNNNN.asp. I seems to me that this would make installation and support for the add-on easier. It would save having to load these additional variables where they are not needed and keep the langNNNN.asp file smaller. It would make the add-on more self contained.







Jack Tutzauer<
Go to Top of Page

tutzauer
Starting Member

Panama
28 Posts

Posted - 08 March 2002 :  08:20:00  Show Profile  Visit tutzauer's Homepage
It looks to me like the present version wants for each additional application seperate language files that would be loaded into langMODS.asp with INCLUDE statements.

I suppose that if there were only one language file availabe for the MOD, it would have to be included in each LCID case until translations were available.



Jack Tutzauer<
Go to Top of Page

Morpheus73
Average Member

Denmark
597 Posts

Posted - 08 March 2002 :  08:25:11  Show Profile
Events emal Notification.

A cool - cool MOD - I have it running with v4 beta 3 - but it would be cool if you (HuwR) included it as an admin controlled option in official v4 Calendar release


<
Go to Top of Page

tutzauer
Starting Member

Panama
28 Posts

Posted - 08 March 2002 :  17:57:06  Show Profile  Visit tutzauer's Homepage
quote:

Events emal Notification.
A cool - cool MOD - I have it running with v4 beta 3 - but it would be cool if you (HuwR) included it as an admin controlled option in official v4 Calendar release


I have it running in V4_b3 also. Everything is cool except the FormatDateTime(dSunday, 1) and similar calls. The output of these calls are based on the computer's regional settings...not so cool if your computer is set for US English and you want to view the forum in Spanish with the dates in Spanish or ordered DD/MM/YY.

I agree with you in that this type of problem should have a solution in the international version. In multi-language software vb functions that use the computer's regional settings should be avoided.

arrLang (intLangIndexCount,6) = "dd.mm.yyyy" ' Short Date Format (for future use)

arrLang (intLangIndexCount,7) = "dd mmmm yyyy dddd" ' Long Date Format (for future use)

The information on how to manipulate the date substrings is in the langNNNN.asp files.

Did you make this adjustment in your version?



Jack Tutzauer<
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 08 March 2002 :  18:01:43  Show Profile
To be considered in future releases (maybe v4b04). If you look down to the older posts, you will find a lot of date-time releated issues. This topic is something Huw gpt his PhD.

Think PinkPost v40b03 Patches<
Go to Top of Page

tutzauer
Starting Member

Panama
28 Posts

Posted - 08 March 2002 :  22:51:28  Show Profile  Visit tutzauer's Homepage
quote:

To be considered in future releases (maybe v4b04). If you look down to the older posts, you will find a lot of date-time releated issues. This topic is something Huw gpt his PhD.


I have not had time to read all the back posts yet. I will try to catch up as time permits.

I would like to suggest the following (if it has not already been suggested):

CODE PURPOSED FOR LANGNNNN.ASP FILE
arrLang (intLangIndexCount,6) = "dd dss1 mm dss2 yy" ' Short Date Format (for future use)
arrLang (intLangIndexCount,7) = "aaaa dss3 mmmm dss4 dddd dss5 yyyy " ' Long Date Format (for future use)

arrLang (intLangIndexCount,8) = "/" 'dss1 first date string separator
arrLang (intLangIndexCount,9) = "/" 'dss2 second date string separator
arrLang (intLangIndexCount,10) = "," 'dss3 third date string separator
arrLang (intLangIndexCount,11) = "," 'dss4 fourth date string separator
arrLang (intLangIndexCount,12) = "" 'dss5 fifth date string separator

SAMPLE CODE FOR APPLICATION/MOD SHORT DATE
dd = "29" 'or calculated or whatever
mm = "02"
yy = "02"
dss1 = arrLang (intLangIndexCount,8) 'dss1 instead of arrLang to make arrLang (intLangIndexCount,6) and 7 easier to read and write
dss2 = arrLang (intLangIndexCount,9)
strShortDate = (intLangIndexCount,6)
response.write strShortDate 'or response.write arrLang (intLangIndexCount,6)

SAMPLE CODE FOR APPLICATION/MOD LONG DATE
dss3 = arrLang (intLangIndexCount,10)
dss4 = arrLang (intLangIndexCount,11)
dss5 = arrLang (intLangIndexCount,12)
aaaa = "Tuesday" 'can be set from a language array variable like strLangDates_WeekDay(3) = "Tuesday"
mmmm = "February"
dddd = "2"
yyyy = "2002"
response.write response.write arrLang (intLangIndexCount,6)

I think that something like this would let the langNNNN file control the date output with fairly simple application code. Where string names are used they could be put in array variables in the langNNNN file. Set the variables and let the language file long or short date array value do the string concatenation for the display.

MORE SAMPLE CODE FOR LANGNNNN.ASP
if IsArray(arrMonthName) <> true then
redim arrMonthName(13)
end if

if IsArray(arrMonthNameShort) <> true then
redim arrMonthNameShort(13)
end if

if IsArray(arrWeekDay) <> true then
redim arrWeekDay(13)
end if

if IsArray(arrWeekDayShort) <> true then
redim arrWeekDayShort(13)
end if

arrMonthName(1) = "January" '"January"
arrMonthName(2) = "February" '"February"
arrMonthName(3) = "March" '"March"
arrMonthName(4) = "April" '"April"
arrMonthName(5) = "May" '"May"
arrMonthName(6) = "June" '"June"
arrMonthName(7) = "July" '"July"
arrMonthName(8) = "August" '"August"
arrMonthName(9) = "September" '"September"
arrMonthName(10) = "October" '"October"
arrMonthName(11) = "November" '"November"
arrMonthName(12) = "*December" '"December"

arrMonthNameShort(1) = "Jan" '"Jan"
arrMonthNameShort(2) = "Feb" '"Feb"
arrMonthNameShort(3) = "Mar" '"Mar"
arrMonthNameShort(4) = "Apr" '"Apr"
arrMonthNameShort(5) = "May" '"May"
arrMonthNameShort(6) = "June" '"June"
arrMonthNameShort(7) = "Jul" '"Jul"
arrMonthNameShort(8) = "Aug" '"Aug"
arrMonthNameShort(9) = "Sep" '"Sep"
arrMonthNameShort(10) = "Oct" '"Oct"
arrMonthNameShort(11) = "Nov" '"Nov"
arrMonthNameShort(12) = "Dec" '"Dec"

arrWeekDay(1) = "Sunday" '"Sunday"
arrWeekDay(2) = "Monday" '"Monday"
arrWeekDay(3) = "Tuesday" '"Tuesday"
arrWeekDay(4) = "Wednesday" '"Wednesday"
arrWeekDay(5) = "Thursday" '"Thursday"
arrWeekDay(6) = "Friday" '"Friday"
arrWeekDay(7) = "Saturday" '"Saturday"

arrWeekDayShort(1) = "Sun" '"Sun"
arrWeekDayShort(2) = "Mon" '"Mon"
arrWeekDayShort(3) = "Tue" '"Tue"
arrWeekDayShort(4) = "Wed" '"Wed"
arrWeekDayShort(5) = "Thu" '"Thu"
arrWeekDayShort(6) = "Fri" '"Fri"
arrWeekDayShort(7) = "Sat" '"Sat"

As usual I haven't tested all of this yet. I just wanted to put the idea forward to get some reaction. I hope to have time to do some tests with this with the Events Calendar program.





Jack Tutzauer<
Go to Top of Page

tutzauer
Starting Member

Panama
28 Posts

Posted - 09 March 2002 :  17:25:43  Show Profile  Visit tutzauer's Homepage
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07