Just a note, the abit-use.com site has a language drop-down that shows their
site in I think 10 different languages. Pretty kewl looking, but you may
want to email them somehow and ask how they achieved it. Maybe there is a
free translation kit or something. :)


>-----Original Message-----
>From: A mailing list about Java Server Pages specification and reference
>[mailto:[EMAIL PROTECTED]]On Behalf Of Hui Deng
>Sent: Friday, April 07, 2000 10:22 AM
>To: [EMAIL PROTECTED]
>Subject: localization
>
>
>Hi,
>I'm currently working on an i18n prototype and need
>you guru input before I go too far.
>The orignal web site totally has 700+ pages including
>jsp and few html. For the primary consideration, we
>now just want to work with localization of static
>content in page. We want to achieve:
>   1. based on user language preference, display the
>pages in user's language.
>   2. avoid to keep x copies of 700+ pages for
>x languages, instead, only keep one copy, so that we
>don't bother to change the UI.
>
>To do this, first come to my mind is to use database.
>Separate the static content in page as blocks and
>assign ids to blocks. Put these content blocks in
>database. In jsp page, we have placehold for these
>contents. Then for every request for that page(jsp),
>queries the database and pulls out content blocks for
>that page. Also use database, we can easily manage and
>
>coordinate(web based) the localization, like sending
>email if any content block be change in page XX.
>
>For alternative I could imagine is use XML. Each page
>has a corespond xml file. In jsp page, parser is
>called to take xml file and fill in content.
>
>Is this the way to do the job, or is there any tool
>to work with jsp for this purpose?
>
>Thanks in advance for any suggestion.
>
>Hui Deng
>
>__________________________________________________
>Do You Yahoo!?
>Talk to your friends online with Yahoo! Messenger.
>http://im.yahoo.com
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to