Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 56272 invoked from network); 18 Feb 2000 14:55:40 -0000 Received: from cindy.kollegienet.dk (HELO odense.kollegienet.dk) (qmailr@130.226.80.138) by locus.apache.org with SMTP; 18 Feb 2000 14:55:40 -0000 Received: (qmail 944 invoked from network); 18 Feb 2000 14:55:37 -0000 Received: from unknown (HELO kaa.hco.kollegie.dk) (root@172.16.8.10) by cindy.kollegienet.dk with SMTP; 18 Feb 2000 14:55:37 -0000 Received: from hco.kollegienet.dk (n1203aa.hco.kollegie.dk [172.16.9.132]) by kaa.hco.kollegie.dk (8.8.7/8.8.7) with ESMTP id PAA10007; Fri, 18 Feb 2000 15:55:36 +0100 Message-ID: <38AD5C67.36CE3C2F@hco.kollegienet.dk> Date: Fri, 18 Feb 2000 15:51:19 +0100 From: Eugen Kuleshov X-Mailer: Mozilla 4.61 [en] (OS/2; I) X-Accept-Language: ru,en MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org CC: general@jakarta.apache.org Subject: Re: request for comments about Multilinguage JSP References: <6381A12F2F99D111ACDE0060083C983A868AC0@kobe.basistech.com> <38AB5EDD.CD6F860B@exoffice.com> <38ABF0E0.C24882C7@hco.kollegienet.dk> <38AC8C60.54CC8D57@exoffice.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Assaf Arkin wrote: > > As I said, multiple JSP need's for designer (not for programmer who > > implement data processing). Just look at this code (it's just > > schematic): > I understand that, but I think there could be a better way if you have > one JSP page and one other document (maybe XSLT, maybe XML-based > resources) supplying the missing bits. > > What happens if you decide to change the layout of index.en.jsp? You > also have to go and modify all the other languages. It's broblem. But if I change one (in your case) JSP then I must change all resources for this page. Next point is a sinchronisation resources and JSP page. Someone now use something like this (look at message from Loki's developer): ------- some html code <%= language dependend resource %> html code again ------- Can you said that it's better then just different JSP? I can't. And my designers can't too. :-/ Also what about other things depends from country. For example european and american people reading from left to right. But arabic is a from right to left. It means that you need to change not only date/currency format's. You must change aligning too. I don't talk there about any XML solutions (it's good but not always usefull). I would like to have pure JSP solution. My offer can be realaysing by 10..20 lines of code in Jasper engine. Otherwise yours offer needs 3rd party XML/XSLP packages. > If the differences are in the text content, I think that a common XML > document with just that information would work better. In this case JSP is not a good way. Better is a using servlets or Cocoon. :) Eugen Kuleshov.