aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes question on html internationalization Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "question on html internationalization" Watch "question on html internationalization" New topic
Author

question on html internationalization

Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
We are looking into rendering a set of html pages in 4 different languages. We have the language experts who can translate what is defaulted in english to the other language.

One approach being proposed is to create 4 different sets of html pages for each language. I would think it is tedious and bad on maintenance.

Is there a other way around like having the html engine take care of it(if you define the correct font and language type)? instead of creating separate html page for each language??


Kishore
SCJP, blog
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56529
    
  14

I take it you cannot use server-side assist for some reason?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Any chance you could use a templating engine and move all your content out of HTML into XML or some easy-to-author repository? I worked a bit with a taglib that took x-path arguments and pulled data from an XML DOM.

Bear, is "server side assist" a product or just using server side code?


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56529
    
  14

Originally posted by Stan James:
Bear, is "server side assist" a product or just using server side code?


The latter, for example, the fmt class of tags from the JSTL.
Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
The problem is these are pure html pages that will be bundled for demo purposes. They will not have help of a webserver etc.
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Then I might look for a templating engine to GENERATE the pages. I generate my SurfScranton site from a spreadsheet with some REXX Macros and upload it as static HTML. Right now you can see some bug generated an empty "Recent Additions" entry on the home page. Oops.
[ September 10, 2007: Message edited by: Stan James ]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: question on html internationalization
 
Similar Threads
Frames in JSP
Concatenating two String arrays
Dynamic content in HTML Pages
onUnload Events in IE having trouble
How to handle site if static data volume is big