Feature Requests item #2794721, was opened at 2009-05-21 10:14
Message generated for change (Comment added) made by sbajic
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126468&aid=2794721&group_id=250683

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: Julien Valroff (valroff)
>Assigned to: Stevan Bajic (sbajic)
Summary: WebUI i18n

Initial Comment:
Hi,

Please allow the web interface to get internationalized so that everything can 
be translated into other languages than English.

Cheers,
Julien

----------------------------------------------------------------------

>Comment By: Stevan Bajic (sbajic)
Date: 2009-07-20 21:02

Message:
Julien! I hear you. I know about the shortcomings of the way it is handled.
My developer heart was bleeding while adding that code. But on the last
DSPAM admin chat I mentioned to have that quick hack available and it was a
democratic decision by the DSPAM admin team to include it in the current
Web UI. Knowing that it is not perfect and knowing that changes to the
markup inside the templates will +/- lead to changes in all the other
languages. But: It is a interim solution. It is not meant to be hammered in
stone and be there for ever. It is just there to allow us to give our users
the possibility to add languages (yes, yes.... it involves more work and
more responsibility for them doing that the way we have implemented it now)
and keep them happy (and busy) until we build the new Web UI (after 3.9.0
is released. Maybe in 4.0.0 or shortly after 4.0.0).

A better solution would be to have hashed tables with just the text in all
the languages available in the Web UI and then have one single repository
for templates and merge at runtime the language into the templates. That
would be way better. I could do that. But to be honest: This is just one
part of the Web UI. Inside the other cgi files there is so much text which
needs to be removed and put into such a hash file that I don't see right
now why we should do that extra work while knowing that we are anyway going
to start a brand new Web UI and solve the problem there in a proper way.

Doing the work on the current Web UI would require so much work to make it
working for as many languages as possible. Keep in mind that some languages
write from left to right, right to left and others from top to down.
Implementing that into the current Web UI would come close to a complete
rewrite of the current codebase.

I am now going to close this feature request. If you still think that this
should be an open feature request for the current Web UI then post on the
DSPAM mailing list and I am going to reopen it. But think again. It is not
a definitive solution. It is just here acting as a bridge between the old
and the new release.


Kind Regards

Stevan Bajic

----------------------------------------------------------------------

Comment By: Julien Valroff (valroff)
Date: 2009-07-20 18:49

Message:
Hi!

I have just noticed Stevan worked on this yesterday (commit
5f6e088cf5f4bd1316a32715c5e92ae6d3406173)

I know you are aware it is not perfect, but prefer warning that keeping
DSPAM templates both updated and translated will be very hard with this
solution: if someone changes the original template (English), all other
templates will need to be changed as well.
I do not know Perl, but I think it should be possible to easily use
something like gettext?

By the way, I am not sure configure.pl is the right place for this code -
this file is meant to be a configuration file, and there is now a lot of
code in it, maybe time for a new file which could be included by all the
cgi's?

This is only my personal view, maybe others will disagree...

Cheers,
Julien

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126468&aid=2794721&group_id=250683

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Dspam-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to