Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Swedish Language Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Peter S
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 26 October 2004 at 11:24am | IP Logged Quote Peter S

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 View Peter S's Profile Search for other posts by Peter S
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 26 October 2004 at 11:49am | IP Logged Quote Alex

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 View Alex's Profile Search for other posts by Alex
 
Peter S
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 26 October 2004 at 11:50am | IP Logged Quote Peter S

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 View Peter S's Profile Search for other posts by Peter S
 
Peter S
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 26 October 2004 at 11:53am | IP Logged Quote Peter S

Difference between Redirect and Forward?
Back to Top View Peter S's Profile Search for other posts by Peter S
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 26 October 2004 at 12:17pm | IP Logged Quote Alex

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 View Alex's Profile Search for other posts by Alex
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 26 October 2004 at 12:22pm | IP Logged Quote Alex

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 View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide