Author |
|
Guests Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 26 October 2004 at 11:24am | IP Logged
|
|
|
I noted that it's possible to run in German, but not Swedish
How, what, where do we translate, or is there a project ongoing about this?
cheers / Peter
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 26 October 2004 at 11:49am | IP Logged
|
|
|
WebMail Pro can be easily extended with support for additional languages, mainly by editing language.inc.asp file.
Function SetLanguage of this file contains the following statement:
Select Case txtSetLanguage
Case "German"
' german tranlation
Case Else
' default english translation
End Select
You can make it like the following:
Select Case txtSetLanguage
Case "German"
' german tranlation
Case "Swedish"
' swedish tranlation
Case Else
' default english translation
End Select
Then copy constants from english block into swedish block, and translate their values line by line. Thus, you will get all definitions in Swedish.
Now, to add new language to the launguages list, open functions_mailadm.inc.asp, search 'German' string there, and add the line for Swedish by analogue with German one.
Then repeat this step for functions_user_settings.inc.asp. Now you should be able to select new language in the Administration panel or in the personal user settings.
If you would like, you can then send us the result of translation so we could make it available for other users, providing your credits in the documentation and the code.
Regards,
Alex
|
Back to Top |
|
|
Guests Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 26 October 2004 at 11:50am | IP Logged
|
|
|
found
language.inc.asp
functions_user_settings.inc.asp
functions_mailadm.inc.asp
anything else?
Have started translation, where to submit when done?
cheers / P
|
Back to Top |
|
|
Guests Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 26 October 2004 at 11:53am | IP Logged
|
|
|
Difference between Redirect and Forward?
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 26 October 2004 at 12:17pm | IP Logged
|
|
|
language.inc.asp, functions_user_settings.inc.asp,
functions_mailadm.inc.asp - this should be enough for implementing the translation.
You can send modified language.inc.asp file to mailbee@iforum.com. functions_user_settings.inc.asp and functions_mailadm.inc.asp files are not necessary since they would differ in one extra line only.
Regards,
Alex
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 26 October 2004 at 12:22pm | IP Logged
|
|
|
Redirect just resends message without any modifications (only special Resent-From extra header is added for compatibility with certain mail servers). No compose dialog appears.
Forward, on other hand, adds 'Fwd' to subject, prepares the body, and allows to edit the message in the compose dialog. Forward is closer in its functioning to Reply than to Redirect.
Regards,
Alex
|
Back to Top |
|
|