Author |
Topic |
n/a
deleted
593 Posts |
Posted - 21 May 2002 : 20:33:18
|
Would like to ask you about translation/localization of Events Calender...so allow me to join into this Forum. (And, thanks Blackinwhite for the initial help for deployment). I tried with Month2 suggestion made here to include in events_functions.asp, with Turkish month names translated into Japanese....but nothing happened...I didn't do anything else.
Here is something I am interested in and would like to see this happen with Events Calender. So, any help/suggestion in this direction will be highly appreciated...perhaps more in Bozden's corner....
(1) Since Events Calender is deployed in a forum site based on UTF-8, there is no problem in adding events in other languages besides English.... tested with Japanese and works fine. (2) There are some functional limitations - such as lack of Edit/Delete features.... which would be nice to be added, perhaps only available for Admin (assuming that Events/Calender will be managed by FORUM Admin and users/members are not allowed to add/delete or whatever unless a permission granted via Admin.) (3) Localizing/translating UI - internationalize Events Calender - I would like to know how I can (a) Localize "Events Calender" link in Inc_Top.asp with appropriate popup note... (b) Localize (i) "View Month" box and Moth Year in a mini calender as well as in date selection box (Month primarily as year stays in aphanumeric number) (ii) "Add New Event", "View by Week" (iii) "Upcoming Events" (iV) "Recent Events" (v) Month Year in a top bar of a main monthly calender and Weekday in the calender (vi) Individual Weekday in "View by Week" (vii) Add New Event Table itself like Admin Options Table (4)Integrating with Forum language selection - Enabling to associate Events Calender language with Forum language selection, for example, selecting JAPANESE in a language selector box will render a Japanese UI Events Calender and if German selected then German UI...
I don't see language resource file separated from codes fpr this MOD and wondering whether there is a way to enable this MOD for internationalization so that it can be localized in various languages.... like current International Version of Snitz...
Will Events/Calender be incorporated into V4.04????? Even so, would like to get some interim deployment of the above type Events Calender.... Any further suggestions/advices on how to?
Thanks in advance.
LEORAT i2AsiaFORUM < |
|
|
n/a
deleted
593 Posts |
Posted - 22 May 2002 : 01:55:47
|
Additional inquiries re: localizing Events Calender.....
Went through files and it seems that four files neeed to be touched on to "localize" UI, messages, etc etc. events.asp events_inc.asp pop_events.asp events_functions.asp
Also, if Events Calender installed (like I did) in Forum, besides its mouse over is putting the one belongs to Search (as used the same 360 number, per above), but also directory is showing in English:
- All Forms - Events Calender
which obviously exists standalone, separate from Langxxxxx.asp files. These also need to be translated...
If to create (let's say) eventsV2sr1_lang1033.asp as a lang resource file, to be translated, and also to be added with "Include eventsV2sr1_langxxxx.asp" - to include 1033 as default as well - to the end of events_functions.asp (????), how this can be accommodated? What would be involved in "converting" this MOD to this? ActiveUsersMOD is designed in such a manner and easy to add languages... can this be easily done with Events Calender and can seek some help here?????
Blackinwhite - Does your file with Turkish langs mentioned above contain some solutions to this besides changing Monthnames into whatever targetlanguage????
Thanks in advance...
Note: Realized that I did not change settings in events.asp to "Moderators and Admin" or "Admin Only" from "All Members" when I re-uploaded the file... I did change it and reloaded, and still it seems there is only "ADD Event" and "View Event" features but no Edit nor Delete....Is this the case for the current V2rs1????
LEORAT i2AsiaFORUM
Edited by - LeoRat on 22 May 2002 02:01:54
Edited by - LeoRat on 22 May 2002 16:14:02< |
|
|
n/a
deleted
593 Posts |
Posted - 23 May 2002 : 03:56:50
|
I am not clear how difficult it is or easy it is, but I suspect that EventsCalender Mod can be packaged for internationalization like ActiveUserMOD is being done, with EventsCalenderLangMOD file with <! --#Include EventsCalender_1033.asp --> with respective EventsCalender_XXXX.asp for a locale lang version. MOD addition pop_help contents are automatically added to popup help in case of ActiveUserMOD, and similarly it is nice to have this design for EventsCalenderMOD. Although I would like to attack this but cannot do it alone....esp someone who can filter what needs to be translated and how that can be packaged in strLangEventsCalender_0000 = " " etc. I don't see so much "translation" required - Month, Date, Year, and UI messages, and FAQ/Help if any...
Any suggestions?
LEORAT i2AsiaFORUM < |
|
|
Deleted
deleted
4116 Posts |
|
n/a
deleted
593 Posts |
Posted - 23 May 2002 : 19:27:39
|
quote:
I was never be able to complete this, needs some more process:
http://www.istanbulmuzesi.org/public/MOD_Events_v4_Compatible_Alpha.zip
It does not use the variable naming standart and the UK date fix. It will change to some extent after v4 is ready I think (e.g. date-time stuff).
Think Pink ==> Start Internationalization Here
Hi, Bozden. Having some difficulty to get connected to the link posted above. Will try later. Now, I have quickly created a langpack for EventsCalenderV2rs1 with Japanese (well, utf-8 again). Question:
1) In my previous install (following instruction#2 in README, and addling it in INC_TOP), I haven't tried adding INCLUDE in default.asp, as I was having a hardtime to locate exact inserting place in default.asp file. 2) I have re-checked default.asp and viewed its webpage source, and can see where these include should go but am still not clear in asp source code where exactly these two includes should be placed.
Can you advise where exactly these two includes mentioned in README should go in default.asp (per readme): --- 3) If you want to display the events calendar on your forum default page, add this to default.asp, to line 121.
<!--#include file="inc_language.asp"--> <!--#include file="events_inc.asp"-->
Here's what mine's look like:
<table border="0" width="100%" cellspacing="1" cellpadding="4"> <!--#include file="events_inc.asp"--> <tr> <td align="center" bgcolor="<% =strHeadCellColor %>" nowrap valign="top"><b> </td> ---
The currently installed EventsCalender MOD is done with 2). Assume that if both "<!--#include file="inc_language.asp"-->" and " <!--#include file="events_inc.asp"-->" added to default.asp, it will not conflict with the current installation with #2)instruction? Or Forum will have events calender in two locations - one via default top page and other from top menu index?
I can post a link to a default.asp of i2Asia if you can take a look...there is no so much change from a standard one, except I see some included codes for activeusers....
Thanks in advance.
LEORAT
Am still having a problem with your link...am not sure it's on this side, seems like there is a handshake problem with your server....Dialup sucks really it's dropping off so much today.
Edited by - LeoRat on 23 May 2002 21:20:15< |
|
|
n/a
deleted
593 Posts |
Posted - 23 May 2002 : 23:59:22
|
I tried to see whether I can use ECV2rs1Intl files with the same #2 approach. Obviously I was not doing right... getting errors in opening up Forum. (I uploaded all files with inc_language.asp, inc_languageEN.asp, inc_languageJA.asp, and inc_languageIT.asp)
I realized that doing this using inc_language.asp from this MOD it actually overwrite existing inc_language.asp and creating problems...at least one of. In config.asp, there is already INCLUDE statement with inc_language.asp before defining lang1033.asp as a default. Am not sure what supposed to go in MOD section, if any. Will this be events_inc.asp? not inc_language.asp from MOD?
I am assuming that there should be a Mod language include file supposedly in config.asp MOD section but ECV2rs1INTL do not contain such a file...or am I missing something here?
thanks for your help in advance.
Still getting an error message for the link - "can't resolve hostname to IP address...." Is this file different from EventsCalenderV2rs1 Interantional???
LEORAT
Edited by - LeoRat on 24 May 2002 00:03:07< |
|
|
Deleted
deleted
4116 Posts |
Posted - 24 May 2002 : 00:13:10
|
Leorat,
I wish I understand this. The Virtual Istanbul Museum site is down for a good 8 hours on 121host. No helpdesk response either... No FTP, no e-mail either...
I'll try to e-mail it to you using my hotmail account. Look at it, you will understand...
One more thing: Read the topic on v4 compatible MODs. Events Calendar is a "large scale" mod, so the strings will kept outside.
Think Pink ==> Start Internationalization Here< |
|
|
n/a
deleted
593 Posts |
Posted - 24 May 2002 : 00:56:27
|
quote:
Leorat,
I wish I understand this. The Virtual Istanbul Museum site is down for a good 8 hours on 121host. No helpdesk response either... No FTP, no e-mail either...
I'll try to e-mail it to you using my hotmail account. Look at it, you will understand...
One more thing: Read the topic on v4 compatible MODs. Events Calendar is a "large scale" mod, so the strings will kept outside.
Think Pink ==> Start Internationalization Here
Thanks, will await for a file. Seems a lot of learning I have to do...Am vaguely grasping at present... BTW - do you ever sleep these days? Seems like you are up burning midnight oil and following the sun/moon....
Aloha
LEORAT < |
|
|
Deleted
deleted
4116 Posts |
|
Deleted
deleted
4116 Posts |
Posted - 24 May 2002 : 03:12:29
|
Hmmm. This is my second try, but hotmail fails to send them. It was behaving funky for two weeks.
Think Pink ==> Start Internationalization Here< |
|
|
n/a
deleted
593 Posts |
Posted - 24 May 2002 : 06:06:57
|
MSN/Hotmail is absolutely freeky....they are doing some maintenance job (seems like they are having some problems with Passport.net...) My ISP is MSN..(ha,ha) and has been terrible for a few days and today was the worst so far... line dropping off every 5 min or so..so often..and was driving me crazy all day long. I guess my last email didn't go - but it was yesterday - so am not sure as I just got an underivable message 30 min ago ...gosh, it must be hopping around in the net.... Hotmail is not functioning right now...as far as I can tell, as I cannot open email although I can establish an intenet connection.... I wonder this has anything to do with the recent news about Hotmail and member personal information stuff.....
After my little attempt mentioned above, I got my i2Asia demo site down...and was cleaning up to bring it back. Was a long day for EventsCalender....
---- it's back to a "normal" state....
LEORAT
Edited by - LeoRat on 24 May 2002 15:38:32< |
|
|
n/a
deleted
593 Posts |
Posted - 24 May 2002 : 15:39:33
|
Bozden, Your site/link is back and just got your file..... Questions later.
Thanks
Taku
OK. I took a quick look at files. Funny thing is I was creating exactly the same langMOD.asp, using Nathan's ActiveUsersMOD4.05 file... and only difference is just a naming convention for langMOD file ...was using LangMOD_ECV2rs1.asp and LangMOD_ECV2rs1_1033.asp, etc. etc. (This is encouraging - as it means that I am moving to a "right" direction here....)
Question: 1) Lang file seems to be the same from V2rs1, which means that JA file I created can be added to lang files. This seems to be a straight forward item in this convention. 2) Does this mean that a) If I deploy this package overwriting the existing one, it should work? (Assume that I have to remove all existing ones on the forum) b) Will the installation process the same as V2rs1/V2rs1 International? c) Or installation modifications already applied? (I haven't compared each file against the existing one: well, sometimes it's much easier to ask upfront ) 3) I see lang pack contains all necessary UI messages in different languages so if this can be deployed, I will have UI localized (JA, and others) and events/calender can be in any languages as it is in UTF8.
Or is there some critial changes need to be made further, as you mentioned this is far from finished.....???
Thanks,
I have quickly compared three versions: (a) Events Calender MOD V2rs1 (fron Snitz Exchange), which was installed currently at my forum, (b) ECMODV2rs1_Intl, and (c)Your V4_compatible: Looking at events.asp, events_inc.asp, events_function.asp, pop_event.asp, and event_styples.asp, each version has different total lines of codes and byte sizes...except for event_styles.asp for (a) and (b)... Have to look at (c) further. If you can, however, clarify the points raised above, I appreciate it greatly. (Will try V4compatible EC and see what happens as well....
Thanks
Edited by - LeoRat on 24 May 2002 16:04:38
Edited by - LeoRat on 24 May 2002 18:51:05< |
|
|
Deleted
deleted
4116 Posts |
Posted - 24 May 2002 : 19:31:18
|
quote:
OK. I took a quick look at files. Funny thing is I was creating exactly the same langMOD.asp, using Nathan's ActiveUsersMOD4.05 file... and only difference is just a naming convention for langMOD file ...was using LangMOD_ECV2rs1.asp and LangMOD_ECV2rs1_1033.asp, etc. etc. (This is encouraging - as it means that I am moving to a "right" direction here....)
Eh, some people say the guidelines are too restrictive for MOD writers. As far as I know, Nathan also used the conventions I posted in these guidelines, and you took his as a base... That's it (encouraging for me also ).
On the other hand using a version number like "ECV2rs1" is not a good idea, because when we go on working on this, there will be (say) v2.5, and we have to replace all variable references in the base MOD files & language files.
If a MOD uses the same idea but complete other code (e.g. there are a lot of Active Users related ones), then it will be a good idea to distinguish them. For example if I sit down and write another Active Users MOD from scratch, I would name it "AUbyBO" (just for example).
quote:
Question: 1) Lang file seems to be the same from V2rs1, which means that JA file I created can be added to lang files. This seems to be a straight forward item in this convention. 2) Does this mean that a) If I deploy this package overwriting the existing one, it should work? (Assume that I have to remove all existing ones on the forum) b) Will the installation process the same as V2rs1/V2rs1 International? c) Or installation modifications already applied? (I haven't compared each file against the existing one: well, sometimes it's much easier to ask upfront ) 3) I see lang pack contains all necessary UI messages in different languages so if this can be deployed, I will have UI localized (JA, and others) and events/calender can be in any languages as it is in UTF8.
Or is there some critial changes need to be made further, as you mentioned this is far from finished.....???
Thanks,
I have quickly compared three versions: (a) Events Calender MOD V2rs1 (fron Snitz Exchange), which was installed currently at my forum, (b) ECMODV2rs1_Intl, and (c)Your V4_compatible: Looking at events.asp, events_inc.asp, events_function.asp, pop_event.asp, and event_styples.asp, each version has different total lines of codes and byte sizes...except for event_styles.asp for (a) and (b)... Have to look at (c) further. If you can, however, clarify the points raised above, I appreciate it greatly. (Will try V4compatible EC and see what happens as well....
Thanks
As far as I can remember I did some corrections (fixes) in them while I was going through them. They must be functionally the same. What I didn't was to replace the language variables like "strAllForums,strEventEdited,strEventDeleted" with the counterparts (strLangMOD style).
I scanned forgotten strings (found one), also added the LangMODs_Events.asp (with DIM's & INCLUDE's inside) and converted the inc_language.asp file (I think this was the name) to LangMODs_EventsNNNN.asp files, also played with some "standardization" of info inside them...
I called it alpha because it does not confirm with my understanding of being v4 compatible. It lacks date/time related info for most of the non-western countries, it does not support first day of week, has some problems with date input/edit in non-US locales etc.
The installation must be the same... I don't remember any other changes, needs a compare of my edition with the international one, if you can do it.
We have to go through this MOD after v4f is out. If you want to release your work, keep it as beta01...
Think Pink ==> Start Internationalization Here< |
|
|
n/a
deleted
593 Posts |
Posted - 24 May 2002 : 23:18:09
|
Thanks for your comments and explanations...it is clear that I better start from your version...to add 1041 and test it out.
Although I am just beginning to get some feels of MODs and given that I am barely understanding ASP codes and all, I believe it is a good idea of having a guideline for software architecture, especially when all these MOD revision changes need to be made, their compatibility testing needs to be made, while core apps internal design may be changing and getting more complex than what they are now (which btw is just far beyond me) and obviously some level of elegance and simplicity (a bit of guideline/procedure type things) will be welcomed to manage these...personally, for being a simpleton here, it is nicer to have a little bit of structure to follow than having too many alternatives or variants and trying to figure out how these components are integrated into a whole....
Anyway, I also feel that, as more functionalities/features will be added and updated as new versions start, your guideline seems to help providing a consistent approach to manage it (or may even become a basic necessity or tool). I also believe it is better to isolate language components from codes as much as possible as separate resource files...Don't believe you can really handle language contents in flexible and efficient manner if they are all imbeded in hard codes.....regardless of programming environments.... I see Active Users MOD V4.05 is in that sense nicely packaged...UI localized, localized HELP/FAQ integrated into the main HELP/FAQ...etc.
Am not clear as to date processing features...I assume that you need to provide some functinalities to process 2002 "Nen" 5 "gatsu" 24 "ka/nichi" or 5 "gatsu" 24 "ka/nichi" 2002 "nen" type expression in Japanese and some other langs.... which also affect field attribute length etc.... I see this as an another issue as I put some event items in calender in Japanese and the way character length is defined for a monthly event display, the last char is not displayed correctly and corrupted (double byte char cut into half, basically in a single byte because of a character length definition)... so there is some design issue beyond getting language packs made..
Will see how this goes, at least for events calender.
Thanks for your comments again, and will approach this stuff step by step... while learning...
LEORAT < |
|
|
n/a
deleted
593 Posts |
Posted - 25 May 2002 : 00:50:22
|
BTW, there is this alternate option of having one default language (whatever languge that is) but can have multilingual contents....if utf-8 format is used... of course, FAQ, HELP, etc. and UI will be in that default language... This is probably not a usal way to deploy but Snitz is quite flexible...
i4Hawaii (http://www26.brinkster.com/leorat2/forum/)is now deployed with original Lang1041 as Lang1033, and in config.asp langauage selection is only with a default single language...(1033=1041, in this case). And, now I have a JA as the default language, while forums can be in any languages....except of course those mentioned above.... Interesting and kind of useful for my little experimentation but not perhaps for a general usage. But this also presents a case for possible adoptation where someone wans to have a locale language as a default but can handle multilingual contents.... For example, even current Snitz Forum can be set with 1033 itself as is but in unicode and allow all posts in whatever languages...and at least there would be less problems for rendering contents/posts/messages in any languages.... only thing, however, is that a browser encoding selection needs to be with utf-8...but this is an interesting deployment.....
Have a great weekend.
Taku < |
|
|
Topic |
|
|
|